certbot-duckdns/Dockerfile

12 lines
249 B
Text
Raw Normal View History

2020-10-29 16:38:49 +01:00
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 []