neb/servers/skel/docker-compose.d/custom/nginx/Dockerfile
2023-10-20 02:43:56 +02:00

13 lines
No EOL
265 B
Docker

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