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