Fix user and group creation for docker containers
This commit is contained in:
1 parent
f3c7bad9cd
commit
03228eb87d
3 files changed
+9
-7
No files matched your search
@@ -1,7 +1,10 @@
|
||||
FROM nginx:1.25.3-alpine
|
||||
|
||||
COPY . /code
|
||||
RUN /code/docker/common-setup.sh
|
||||
RUN addgroup --system leftypol \
|
||||
&& adduser --system leftypol \
|
||||
&& adduser leftypol leftypol \
|
||||
&& /code/docker/common-setup.sh
|
||||
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in new issue
Block a user