mirror of
https://github.com/shouptech/flask-tutorial.git
synced 2026-02-03 07:29:42 +00:00
Add Dockerfile
This commit is contained in:
parent
60e25809fe
commit
15882d9d75
1 changed files with 10 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM python:3
|
||||
|
||||
ADD . /app/
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install -e .
|
||||
RUN pip install waitress
|
||||
|
||||
CMD ["waitress-serve", "--call", "flaskr:create_app"]
|
||||
Loading…
Add table
Reference in a new issue