Push app
This commit is contained in:
parent
650ec5cf09
commit
e866157052
2 changed files with 32 additions and 3 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -1,5 +1,10 @@
|
|||
FROM python:latest
|
||||
COPY . .
|
||||
CMD python3 -m pip install -r requirements/docs.txt
|
||||
RUN python3 -m flask run
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue