From 64d6638cc3e77c82d4b4a07ae52c7306bbd564ea Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Wed, 25 Sep 2024 14:33:33 +0300 Subject: [PATCH] add Dockerfile for automatic container creation --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8b5b062 --- /dev/null +++ b/Dockerfile @@ -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