13 lines
443 B
Docker
13 lines
443 B
Docker
FROM --platform=linux/amd64 reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc
|
|
|
|
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.
|