mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-20 19:11:56 +08:00
fix: Create user home to avoid warning
This commit is contained in:
parent
26e97f242a
commit
960c92d6d3
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user