docker_ssl_endpoint/Dockerfile

27 lines
520 B
Docker
Raw Normal View History

FROM debian8_python3
2016-04-03 09:08:55 +02:00
MAINTAINER Joachim Lusiardi
RUN apt-get update; \
apt-get install -y \
git \
haproxy; \
git clone https://github.com/letsencrypt/letsencrypt ;\
cd /letsencrypt ;\
./letsencrypt-auto --help
RUN pip3 install docker-py
2016-04-03 09:08:55 +02:00
ADD haproxy_ssl.conf /haproxy_ssl.conf
2016-04-03 09:08:55 +02:00
ADD haproxy.conf /haproxy.conf
ADD letencrypt.conf /letencrypt.conf
2016-04-03 09:08:55 +02:00
ADD start.py /start.py
ADD list_domains.py /list_domains.py
RUN chmod +x /*.py
2016-04-03 09:08:55 +02:00
VOLUME ["/data"]
EXPOSE 80
2016-04-03 09:08:55 +02:00
EXPOSE 443
ENTRYPOINT /start.py