Dockerized app

This commit is contained in:
Michael Mandl 2019-12-30 15:59:58 +01:00
parent 10d491fa96
commit 9ee36727ef
10 changed files with 23 additions and 1 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM python:3
ADD app /app
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --requirement /app/requirements.txt
WORKDIR /app
EXPOSE 5000/TCP
CMD [ "python3", "server.py" ]