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