Remove Procfile (not using Heroku) and add Dockerfile

This commit is contained in:
mmcwilliams 2024-06-27 14:04:10 -04:00
parent 6fd0975a1b
commit 3e71239636
2 changed files with 12 additions and 1 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY views ./
COPY static ./
COPY app.py ./
CMD [ "python", "./app.py" ]

View File

@ -1 +0,0 @@
web: gunicorn app:app --log-file -