neb/images/nginx/Dockerfile
Raine 83a548ca8f feat: nebulosus tmp solution
Signed-off-by: Raine <raine@ixvd.net>
2024-03-29 17:04:43 +01:00

16 lines
No EOL
331 B
Docker

FROM nginx:alpine
RUN apk add \
certbot \
certbot-nginx
COPY content /usr/share/nginx/html
COPY conf.d/ /etc/nginx/conf.d/
COPY nginx.conf /etc/nginx/nginx.conf
VOLUME /etc/nginx/conf.d/
VOLUME /usr/share/nginx/html/
COPY entrypoint.sh /entrypoint
ENTRYPOINT [ "sh", "/entrypoint" ]
CMD [ "nginx", "-g", "daemon off;" ]