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
commit 0cdfd70e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"