nginx-certbot/Dockerfile

17 lines
318 B
Docker
Raw Normal View History

2015-11-22 19:17:01 +00:00
FROM quay.io/letsencrypt/letsencrypt
MAINTAINER Henri Dwyer <henri@dwyer.io>
RUN mkdir /certs
# Add crontab file in the cron directory
ADD crontab /etc/cron.d/crontab
# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/crontab
COPY ./scripts/ /
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["/run_cron.sh"]