From 4da77c95d176b41bdca951b7cdb39b948c3af8ec Mon Sep 17 00:00:00 2001 From: Marcel Gansfusz Date: Fri, 24 Oct 2025 21:19:36 +0200 Subject: [PATCH] finished writeing compatibility with docker; untested --- DOCKERFILE | 4 ++++ compose.yml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 DOCKERFILE diff --git a/DOCKERFILE b/DOCKERFILE new file mode 100644 index 0000000..636dedd --- /dev/null +++ b/DOCKERFILE @@ -0,0 +1,4 @@ +FROM python:3 +WORKDIR /usr/src/ +COPY requirements.txt /usr/src/requirements.txt +RUN pip install -r requirements.txt diff --git a/compose.yml b/compose.yml index c2e9f6a..4a27c7b 100644 --- a/compose.yml +++ b/compose.yml @@ -5,7 +5,7 @@ services: command: python -m uvicorn app.main:app --host 0.0.0.0 --port 80 biuld: context: . - dockerfile: Dockerfile_app + dockerfile: DOCKERFILE volumes: - ./app:/python - ./unizeug:/unizeug @@ -42,7 +42,7 @@ services: command: python /python/init.py biuld: context: . - dockerfile: Dockerfile_scaner + dockerfile: DOCKERFILE volumes: - ./app:/python - ./unizeug