Docker container providing nginx/letsencrypt support
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
268 B

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"]