diff --git a/Dockerfile b/Dockerfile index 637363f..71c46cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM certbot/dns-digitalocean:latest COPY new-domain /usr/bin/new-domain +COPY renew /etc/periodic/monthly/renew ENTRYPOINT /usr/sbin/crond -f diff --git a/renew b/renew new file mode 100644 index 0000000..96845ad --- /dev/null +++ b/renew @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +/usr/local/bin/certbot renew +