ungleich-certbot/Dockerfile

13 lines
278 B
Docker
Raw Permalink Normal View History

2021-12-04 22:46:57 +00:00
FROM nginx:1.21.4-alpine
2021-06-13 07:45:38 +00:00
RUN mkdir -p /nginx /www_http
COPY nginx-http-redir.conf /nginx/default.conf
# For renewing the certificates
2022-07-06 11:44:22 +00:00
COPY renew_cert.sh /etc/periodic/daily/renew_cert
2021-10-11 03:28:20 +00:00
RUN apk update && apk add certbot bind-tools
2021-06-19 14:41:43 +00:00
COPY entrypoint.sh /
2021-06-19 14:41:43 +00:00
CMD ["/entrypoint.sh"]