5 changed files with 20 additions and 21 deletions
@ -1,11 +1,10 @@ |
|||||
FROM nginx:1.25.3-alpine |
FROM nginx:1.25.3-alpine |
||||
|
|
||||
COPY . /code |
COPY . /code |
||||
RUN addgroup --system leftypol \ |
RUN adduser --system www-data \ |
||||
&& adduser --system leftypol \ |
&& adduser www-data www-data \ |
||||
&& adduser leftypol leftypol \ |
&& /code/docker/common-setup.sh |
||||
&& /code/docker/common-setup.sh |
|
||||
|
|
||||
|
|
||||
CMD ["nginx", "-g", "daemon off;"] |
CMD [ "nginx", "-g", "daemon off;" ] |
||||
EXPOSE 80 443 |
EXPOSE 80 |
||||
|
Loading…
Reference in new issue