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