Move Dockerfile to prevent unnecessary cache dirtying

This commit is contained in:
ted-cdw 2023-02-22 09:43:41 -05:00
parent 646cf24a70
commit a8f7fee179
2 changed files with 1 additions and 0 deletions

11
examples/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM python:3.11.2-alpine3.17
COPY . "/tutorial"
WORKDIR /tutorial
RUN pip install .
RUN flask --app=flaskr init-db
EXPOSE 5000
CMD [ "flask", "--app=flaskr", "run", "--host=0.0.0.0"]