docker file update
This commit is contained in:
parent
e866157052
commit
c031141096
1 changed files with 2 additions and 5 deletions
|
|
@ -1,10 +1,7 @@
|
|||
FROM python:latest
|
||||
|
||||
FROM python:3.7
|
||||
WORKDIR /src/flask
|
||||
|
||||
COPY ./examples/tutorial /src/flask
|
||||
|
||||
RUN pip install -e .
|
||||
RUN pip install --upgrade pip
|
||||
RUN flask --app flaskr init-db
|
||||
CMD flask --app flaskr run --debug --host 0.0.0.0
|
||||
CMD flask --app flaskr run --debug --host 0.0.0.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue