TODO-24 (in docker) DONE

This commit is contained in:
2021-01-08 12:09:27 +11:00
parent bed04f88f9
commit 848cb378bc

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM ubuntu:20.04
WORKDIR /code
RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
EXPOSE 5000
COPY . .
CMD ["python3", "/code/main.py"]