From aade9fa938cc6f0058864ab340cc1c6748c2014f Mon Sep 17 00:00:00 2001 From: CI Test Date: Sat, 27 Jun 2026 20:26:41 +0800 Subject: [PATCH] fix: add HTTPS pip mirror to api.Dockerfile to fix build failure --- infra/docker/api.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/docker/api.Dockerfile b/infra/docker/api.Dockerfile index e6da90ea3..1dfb79c1f 100644 --- a/infra/docker/api.Dockerfile +++ b/infra/docker/api.Dockerfile @@ -21,7 +21,7 @@ COPY requirements.txt /tmp/requirements.txt # 创建虚拟环境并安装依赖 RUN python -m venv /opt/venv \ - && /opt/venv/bin/pip install --no-cache-dir -r /tmp/requirements.txt \ + && /opt/venv/bin/pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r /tmp/requirements.txt \ && rm /tmp/requirements.txt # 复制应用代码