Update permissions to cron.d script for certbot

This commit is contained in:
Wojciech Kozlowski 2019-07-27 23:53:30 +02:00
parent 80e919a794
commit 6a33868e3c

View File

@ -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 certbot.cron /etc/cron.d/certbot
COPY supervisord.conf /etc/supervisord.conf COPY supervisord.conf /etc/supervisord.conf
RUN chmod go-wx /etc/cron.d/certbot
VOLUME ["/etc/letsencrypt"] VOLUME ["/etc/letsencrypt"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]