certbot-duckdns/Dockerfile
2020-10-29 16:40:55 +01:00

11 lines
249 B
Docker

FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add curl certbot openssl
RUN mkdir /etc/cron.d
COPY certbot-* duckdns start-certbot-duckdns.sh /usr/local/bin/
COPY etc/cron.d/* /etc/cron.d/
ENTRYPOINT ["start-certbot-duckdns.sh"]
CMD []