From fa270ae34dc8b49c2ed9d202a5768853d74aac61 Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 8 Nov 2024 14:30:10 +0800 Subject: [PATCH] update --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3e23b2e..9e308b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ RUN set -xe \ python3 \ python3-dev \ tzdata \ + && rm -vf /usr/lib/python3.12/EXTERNALLY-MANAGED \ && curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \ && pip3 install --no-binary lxml \ aioxmpp \ @@ -46,7 +47,7 @@ RUN set -xe \ pytz \ pyyaml \ requests \ - && sed -i '/if "proxies" not in kwargs:$/s//if True:/' /usr/lib/python3.11/site-packages/requests/sessions.py \ + && sed -i '/if "proxies" not in kwargs:$/s//if True:/' /usr/lib/python3.12/site-packages/requests/sessions.py \ && pip3 install urlwatch==${URLWATCH_VERSION} \ && apk del build-base \ libffi-dev \