From cb243f46bb38f7de92e34b67cbe70890a09a0241 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Mon, 11 Dec 2023 23:30:25 +0530 Subject: [PATCH] Update pip to allow breaking system packages --- web/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index e6d2c35..3a9e42c 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -14,8 +14,8 @@ RUN --mount=type=cache,target=/root/.cache \ && apk add --no-cache --virtual .mailman-rundeps bash sassc tzdata \ postgresql-client mysql-client py3-mysqlclient curl mailcap gettext \ python3 py3-pip xapian-core xapian-bindings-python3 libffi pcre-dev py-cryptography \ - && python3 -m pip install -U 'Django<4.2' pip setuptools wheel \ - && pip install -r /tmp/requirements.txt \ + && pip install --break-system-packages -U 'Django<4.2' pip setuptools wheel \ + && pip install --break-system-packages -r /tmp/requirements.txt \ whoosh \ uwsgi \ psycopg2 \