1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-22 14:13:01 +02:00

Merge pull request #361 from cdvv7788/dockerfile

fix: Create user home to avoid warning
This commit is contained in:
Nick Sweeting
2020-07-09 21:01:14 -04:00
committed by GitHub

View File

@@ -48,7 +48,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
# Run everything from here on out as non-privileged user
RUN groupadd --system archivebox \
&& useradd --system --gid archivebox --groups audio,video archivebox
&& useradd --system --create-home --gid archivebox --groups audio,video archivebox
ADD . "$CODE_PATH"
WORKDIR "$CODE_PATH"