ungleich-certbot/Dockerfile
2022-01-30 21:22:18 +01:00

12 lines
268 B
Docker

FROM nginx:1.21.4-alpine
RUN mkdir -p /nginx /www_http
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"]