2015-01-26 20:25:58 +01:00
|
|
|
FROM debian8_python3
|
2015-01-22 11:04:17 +01:00
|
|
|
|
|
|
|
MAINTAINER Joachim Lusiardi
|
|
|
|
|
2015-01-26 20:25:58 +01:00
|
|
|
RUN apt-get update; \
|
|
|
|
apt-get install -y nginx;
|
2015-01-22 11:04:17 +01:00
|
|
|
|
|
|
|
ADD nginx.conf /etc/nginx.conf
|
|
|
|
ADD start.sh /start.sh
|
|
|
|
RUN chmod +x /start.sh
|
|
|
|
|
|
|
|
ADD nginx_proxy.py /nginx_proxy.py
|
|
|
|
RUN chmod +x /nginx_proxy.py
|
|
|
|
RUN pip3 install docker-py
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
ENTRYPOINT /start.sh
|
|
|
|
|