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 # -----------------------------------------------------------------------------