22 lines
386 B
Docker
22 lines
386 B
Docker
FROM debian8_python3
|
|
|
|
MAINTAINER Joachim Lusiardi
|
|
|
|
RUN apt-get update; \
|
|
apt-get install -y nginx;
|
|
|
|
RUN mkdir /default
|
|
ADD index.html /default/index.html
|
|
RUN chmod -R 777 /default
|
|
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
|
|
|