Files
certbot/docker/Dockerfile
status404 3f103a5a7f
All checks were successful
Build docker image and push to registry.bitdeals.org / main-build-job (push) Successful in 26s
fix entrypoint
2026-03-26 13:57:54 +03:00

18 lines
344 B
Docker

FROM certbot/certbot:latest
#SHELL ["/bin/ash", "-ex", "-c"]
# Install socat
RUN apk --no-cache add socat
# Copy scripts
COPY ./docker/scripts/ /opt/scripts/
RUN chmod 755 /opt/scripts/*.sh
# Expose port 380
EXPOSE 380
ENTRYPOINT /bin/sh -c 'trap exit TERM; while :; do /opt/scripts/1-renew-cert.sh ; sleep 12h & wait $(jobs -p); done;'