diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..926f1ed --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.8 + +ADD . /root/ + +WORKDIR /root + +RUN pip install -r requirements.txt + +CMD [ "gunicorn", "--chdir", "src", "app:app"] \ No newline at end of file diff --git a/Procfile b/Procfile index 8001d1a..69c156d 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn app:app \ No newline at end of file +web: gunicorn --chdir src app:app \ No newline at end of file