From c3185cea33a1dd1eb9d5ff752fb4af0e1b2c1140 Mon Sep 17 00:00:00 2001 From: zhenghu <1831829219@qq.com> Date: Mon, 13 Apr 2026 16:12:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=20uv=20HTTP=20?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E4=BE=9D=E8=B5=96=E5=AE=89=E8=A3=85=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 803cf19..20423c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY pyproject.toml justfile uv.lock ./ # 配置 uv 使用阿里云镜像源(通过环境变量) -ENV UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/ +ENV UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/ \ + UV_HTTP_TIMEOUT=120 # 安装 Python 依赖(使用 uv,锁定版本) RUN uv sync --frozen --no-dev