From 85e1e852ede31a57190fee08f8fbf756d3b04bc1 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 29 Apr 2026 14:35:28 +0100 Subject: [PATCH] fix: add --no-root to poetry install in Dockerfiles (Poetry 2.x) --- backend/Dockerfile | 2 +- backend/Dockerfile.whisper-service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index bc35dac..0a44c6c 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -33,7 +33,7 @@ COPY pyproject.toml poetry.lock ./ # Install dependencies using Poetry directly (simpler and more reliable) RUN poetry config virtualenvs.create false \ - && poetry install --only main --no-interaction --no-ansi \ + && poetry install --only main --no-root --no-interaction --no-ansi \ && rm -rf $POETRY_CACHE_DIR # ----------------------------------------------------------------------------- diff --git a/backend/Dockerfile.whisper-service b/backend/Dockerfile.whisper-service index 2dd6e4f..e16ab8b 100644 --- a/backend/Dockerfile.whisper-service +++ b/backend/Dockerfile.whisper-service @@ -36,7 +36,7 @@ COPY pyproject.toml poetry.lock ./ # Install dependencies RUN poetry config virtualenvs.create false \ - && poetry install --only main --no-interaction --no-ansi \ + && poetry install --only main --no-root --no-interaction --no-ansi \ && rm -rf $POETRY_CACHE_DIR # -----------------------------------------------------------------------------