Decent start

This commit is contained in:
2021-01-26 01:42:53 +00:00
parent 2983e39820
commit 1136146e86
8 changed files with 94 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.8
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
ENV FLASK_APP my_homepage
ENV FLASK_ENV production
COPY . .
CMD ["gunicorn", "-b", "0.0.0.0:5000", "my_homepage:create_app()"]