Add a Dockerfile
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user