docker file update

This commit is contained in:
egyhaty 2023-12-26 06:46:10 +02:00
parent e866157052
commit c031141096

View file

@ -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