diff --git a/Dockerfile b/Dockerfile index f6a3c3c9..807107a0 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