forked from leftypol/leftypol
Fix user and group creation for docker containers
This commit is contained in:
parent
57a6154287
commit
17820b31c4
3 changed files with 6 additions and 14 deletions
|
@ -1,7 +1,10 @@
|
|||
FROM nginx:1.25.3-alpine
|
||||
|
||||
COPY . /code
|
||||
RUN /code/docker/common-setup.sh web
|
||||
RUN addgroup --system leftypol \
|
||||
&& adduser --system leftypol \
|
||||
&& adduser leftypol leftypol \
|
||||
&& /code/docker/common-setup.sh
|
||||
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue