diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2e6ba3c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.8 +RUN pip install pipenv +WORKDIR /usr/src/app +COPY Pipfile Pipfile.lock ./ +RUN pipenv install --system --deploy +COPY . ./ +ENV FLASK_APP=app +ENV FLASK_ENV=production +ENV FLASK_RUN_HOST=0.0.0.0 +ENV FLASK_RUN_PORT=5000 +EXPOSE 5000 +ENTRYPOINT flask run + |