From 7dc26201bc3ce95c79881fa92f3ca7acd677f249 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 26 Aug 2018 07:59:57 +0200 Subject: [PATCH] Add a Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b9c32a2 --- /dev/null +++ b/Dockerfile @@ -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