Add a Dockerfile

This commit is contained in:
Christoph Reiter
2018-08-26 07:59:57 +02:00
parent a9fc4f02d3
commit 7dc26201bc

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM debian:stretch-slim
RUN apt-get update && apt-get install -y \
python3-requests \
python3-flask \
python3-twisted \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
WORKDIR /app
ENTRYPOINT ["python3"]
CMD ["main.py", "-p", "80"]
EXPOSE 80