diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f9b3e28 --- /dev/null +++ b/Dockerfile @@ -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"]