Files
cwshed-clone/Dockerfile.gateway
T

11 lines
325 B
Docker

FROM reg.nyan404.ru/cwshed/cwshed-base:nginx-c2431df29ccc
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;"]
#+ Static gateway image: package the web assets with the prebuilt nginx base used in production.