15 lines
371 B
Docker
15 lines
371 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache --upgrade \
|
|
curl certbot openssl
|
|
|
|
RUN mkdir -p /etc/periodic/12h \
|
|
&& mkdir -p /etc/periodic/5min
|
|
|
|
COPY certbot-* duckdns start-certbot-duckdns.sh /usr/local/bin/
|
|
COPY etc/periodic/ /etc/periodic/
|
|
|
|
VOLUME /etc/letsencrypt/
|
|
|
|
ENTRYPOINT [ "/bin/sh", "-c" ]
|
|
CMD [ "duckdns; certbot-duckdns; start-certbot-duckdns.sh" ]
|