9bd00cca0c
cleaned up code
19 lines
306 B
Docker
19 lines
306 B
Docker
FROM debian8_python3
|
|
|
|
MAINTAINER Joachim Lusiardi
|
|
|
|
RUN apt-get update; \
|
|
apt-get install -y nginx;
|
|
|
|
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
|
|
|