FROM certbot/certbot RUN apk add --no-cache cronie docker-cli RUN mkdir -p /etc/letsencrypt/config COPY scripts/ /opt/ RUN chmod +x /opt/*.sh ENTRYPOINT ["/opt/init-certbot.sh"]