added docker to project

This commit is contained in:
iritmaximus
2023-01-20 14:29:35 +02:00
parent a63bdf9def
commit 9fdbb83574
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
docs
.venv
scripts
README.md
__pycache__
+10
View File
@@ -0,0 +1,10 @@
# syntax=docker/dockerfile:1
FROM python:slim-bullseye
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD [ "python3", "-m" , "flask", "--app", "flaskr/app", "run", "--host=0.0.0.0"]