Remove Procfile (not using Heroku) and add Dockerfile
This commit is contained in:
parent
6fd0975a1b
commit
3e71239636
|
@ -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" ]
|
Loading…
Reference in New Issue