From 6a33868e3c71450266cd20118706ead35f0e5030 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 27 Jul 2019 23:53:30 +0200 Subject: [PATCH] Update permissions to cron.d script for certbot --- proxy/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/Dockerfile b/proxy/Dockerfile index 40e3cfa..ef21fbd 100644 --- a/proxy/Dockerfile +++ b/proxy/Dockerfile @@ -15,6 +15,8 @@ RUN mkdir /etc/nginx/cert && openssl dhparam -out /etc/nginx/cert/dhparam.pem 20 COPY certbot.cron /etc/cron.d/certbot COPY supervisord.conf /etc/supervisord.conf +RUN chmod go-wx /etc/cron.d/certbot + VOLUME ["/etc/letsencrypt"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]