ungleich-certbot/Dockerfile
2021-12-21 20:02:34 +01:00

12 lines
258 B
Docker

FROM nginx:1.21.4-alpine
RUN mkdir -p /nginx
COPY nginx-http-redir.conf /nginx/default.conf
# For renewing the certificates
COPY renew_cert.sh /etc/periodic/daily/
RUN apk update && apk add certbot bind-tools
COPY entrypoint.sh /
CMD ["/entrypoint.sh"]