From 66ce9239074f623513609b66f4c3297b2f44c955 Mon Sep 17 00:00:00 2001 From: devops Date: Wed, 1 Apr 2026 19:31:19 +0400 Subject: [PATCH] Fix pip install: add --ignore-installed to skip Debian-managed packages Made-with: Cursor --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6a3c3c90..807107a05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM odoo:19.0 USER root -# Install all Python dependencies required by EnCoach custom addons +# Install all Python dependencies required by EnCoach custom addons. +# --ignore-installed: skip uninstalling system packages that lack RECORD files (e.g. Debian's typing_extensions). COPY new_project/requirements.txt /tmp/requirements.txt -RUN pip install -r /tmp/requirements.txt --break-system-packages --no-warn-script-location +RUN pip install -r /tmp/requirements.txt --break-system-packages --no-warn-script-location --ignore-installed USER odoo