2020-08-02 00:34:24 +08:00
|
|
|
FROM phusion/baseimage:bionic-1.0.0
|
2017-03-17 15:36:00 +08:00
|
|
|
|
2018-03-16 17:34:47 +08:00
|
|
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
2017-03-26 15:56:55 +08:00
|
|
|
|
2017-03-17 15:36:00 +08:00
|
|
|
COPY run-certbot.sh /root/certbot/run-certbot.sh
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y letsencrypt
|
|
|
|
|
|
|
|
ENTRYPOINT bash -c "bash /root/certbot/run-certbot.sh && sleep infinity"
|