Converted into a docker container
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM debian:8
|
||||
|
||||
MAINTAINER Joachim Lusiardi
|
||||
|
||||
RUN apt-get update;
|
||||
RUN apt-get install -y python3-pip
|
||||
RUN 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
|
||||
|
||||
VOLUME ["/keys"]
|
||||
EXPOSE 80
|
||||
ENTRYPOINT /start.sh
|
||||
|
||||
Reference in New Issue
Block a user