neb/servers/skel/docker-compose.d/custom/nginx/Dockerfile

13 lines
274 B
Text
Raw Normal View History

2023-10-20 02:09:03 +02:00
FROM nginx:alpine
RUN apk add \
certbot \
certbot-nginx
COPY content /usr/share/nginx/html
2023-10-20 02:55:23 +02:00
COPY conf.d/ /etc/nginx/conf.d/
2023-10-20 02:09:03 +02:00
COPY nginx.conf /etc/nginx/nginx.conf
COPY entrypoint.sh /entrypoint
2023-10-20 02:43:56 +02:00
ENTRYPOINT [ "sh", "/entrypoint" ]
CMD [ "nginx", "-g", "daemon off;" ]