times_new_nginx/Dockerfiles/Dockerfile_devserver

11 lines
440 B
Plaintext
Raw Normal View History

2024-10-05 07:22:27 +03:00
FROM nginx:stable-alpine
COPY --chmod=0440 ["./locations", "/etc/nginx/locations"]
COPY --chmod=0440 ["./configuration", "/etc/nginx/configuration"]
COPY --chmod=0440 ["./error-pages", "/etc/nginx/error-pages"]
2024-10-16 15:29:35 +03:00
COPY --chmod=0755 ["./resources", "/var/www/html/resources"]
2024-10-05 07:22:27 +03:00
COPY --chmod=0440 ["./nginx_configs/nginx.conf", "/etc/nginx/nginx.conf"]
ARG CONT_IMG_VER
ENV CONT_IMG_VER=${CONT_IMG_VER:-v1.0.0}
CMD ["nginx", "-g", "daemon off;"]