diff --git a/Dockerfile b/Dockerfile index 2cec2a3..863bb75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,14 @@ RUN apk add --no-cache certbot jq wget # Run certbot COPY ./monit.conf /etc/monit.d/certbot.conf -# Get more output -RUN echo "set limits { programoutput: 1 MB }" >> /etc/monit.d/limits.conf # Install certbot's script COPY ./certbot.sh /usr/local/bin/certbot RUN chmod +x /usr/local/bin/certbot +# Add ssl group +RUN addgroup -S -g 777 ssl + # Check monit's config RUN monit -t