From fd154e779983f11864c1dc827159ce1178d17dad Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 29 Apr 2026 14:21:42 +0100 Subject: [PATCH] fix: upgrade poetry in Dockerfile from 1.8.2 to 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit poetry.lock was generated with 2.1.4 — using 1.8.2 caused incompatible lock file error and failed Docker builds. Co-Authored-By: Claude Sonnet 4.6 --- backend/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 1a8ca9b..bc35dac 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* # Install Poetry -RUN pip install --no-cache-dir poetry==1.8.2 +RUN pip install --no-cache-dir poetry==2.1.4 # Configure Poetry to not create virtual environment (we're in a container) ENV POETRY_NO_INTERACTION=1 \ @@ -33,7 +33,6 @@ COPY pyproject.toml poetry.lock ./ # Install dependencies using Poetry directly (simpler and more reliable) RUN poetry config virtualenvs.create false \ - && poetry lock --no-update \ && poetry install --only main --no-interaction --no-ansi \ && rm -rf $POETRY_CACHE_DIR