certbot-duckdns/Dockerfile

16 lines
371 B
Text
Raw Permalink Normal View History

2020-10-29 16:38:49 +01:00
FROM alpine:latest
2022-03-10 15:54:41 +01:00
RUN apk add --no-cache --upgrade \
curl certbot openssl
2021-03-15 20:22:21 +01:00
RUN mkdir -p /etc/periodic/12h \
&& mkdir -p /etc/periodic/5min
2020-10-29 16:38:49 +01:00
COPY certbot-* duckdns start-certbot-duckdns.sh /usr/local/bin/
2021-03-15 20:22:21 +01:00
COPY etc/periodic/ /etc/periodic/
2020-10-29 16:38:49 +01:00
2022-03-10 16:12:13 +01:00
VOLUME /etc/letsencrypt/
2021-03-15 20:22:21 +01:00
ENTRYPOINT [ "/bin/sh", "-c" ]
CMD [ "duckdns; certbot-duckdns; start-certbot-duckdns.sh" ]