Add Volume for /etc/letsencrypt.

This commit is contained in:
redxef 2022-03-10 16:12:13 +01:00
parent 2616161d63
commit ef50a5ad7b
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -9,5 +9,7 @@ RUN mkdir -p /etc/periodic/12h \
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" ]