Files
cwshed-clone/Dockerfile.gateway

13 lines
522 B
Docker

FROM --platform=linux/amd64 reg.nyan404.ru/cwshed/cwshed-base:nginx-1.31.9-7f5475ebf9a3@sha256:aee05868dfe80007150fff6083527191b3c370a8a66d2d6cc4348e8d2e179657
COPY nginx.conf /etc/nginx/nginx.conf
COPY web /usr/share/nginx/html
RUN chmod -R 755 /usr/share/nginx/html \
&& chown -R nginx:nginx /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
#+ The release image carries its own Nginx routing configuration, so new public
#+ routes are deployed together with their application and static assets.