From 1dae2a1bc0656a0fdf174507ac7d9e2cdecd4d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Thu, 7 May 2026 21:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=EF=BC=9Amirrors.ali?= =?UTF-8?q?yun.com=20=E2=86=92=20pypi.tuna.tsinghua.edu.cn=EF=BC=88?= =?UTF-8?q?=E6=B8=85=E5=8D=8E=E6=BA=90=EF=BC=8C=E5=9B=BD=E5=86=85=E9=80=9A?= =?UTF-8?q?=E5=B8=B8=E6=9B=B4=E7=A8=B3=E5=AE=9A=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.modelscope | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.modelscope b/Dockerfile.modelscope index cd598bc..8a6f524 100644 --- a/Dockerfile.modelscope +++ b/Dockerfile.modelscope @@ -37,10 +37,10 @@ ENV PATH="/root/.cargo/bin:$PATH" # 复制requirements文件并安装Python依赖 COPY requirements.txt . -RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt +RUN pip install --no-cache-dir --timeout 120 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn -r requirements.txt # 安装 Playwright 并下载 Chromium -RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ playwright && \ +RUN pip install --no-cache-dir --timeout 120 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn playwright && \ playwright install chromium RUN npm install -g playwright sharp nodemailer dotenv && \ npx playwright install chromium