From ef50a5ad7b7915f1b5d07ab3f83d0e9db7efd0f1 Mon Sep 17 00:00:00 2001 From: redxef Date: Thu, 10 Mar 2022 16:12:13 +0100 Subject: [PATCH] Add Volume for /etc/letsencrypt. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index da97c4c..4447fe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]