eduardogsilva.routerfleet/containers/nginx/Dockerfile-nginx

8 lines
339 B
Text
Raw Permalink Normal View History

2024-04-04 15:11:13 -03:00
FROM nginx:alpine
RUN apk --no-cache add openssl
COPY nginx_entrypoint.sh /nginx_entrypoint.sh
COPY virtualhost.conf /etc/nginx/virtualhost.conf.disabled
COPY virtualhost_noredirect.conf /etc/nginx/virtualhost_noredirect.conf.disabled
2024-04-04 15:11:13 -03:00
RUN chmod +x /nginx_entrypoint.sh
ENTRYPOINT ["/nginx_entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]