add Dockerfile for automatic container creation

This commit is contained in:
ІО-23 Шмуляр Олег 2024-09-25 14:33:33 +03:00
parent 4936114942
commit 64d6638cc3
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.11-slim-bullseye
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN python -m pip install -r requirements.txt
COPY ./app/ /app/app/
CMD flask run -h 0.0.0.0 -p $PORT