fix: PyPI 镜像换阿里云源(清华源对 uv_build 返回 403)

This commit is contained in:
HHY
2026-09-24 21:01:27 -07:00
parent f242b174b9
commit 6ade85a5b3
+1 -1
View File
@@ -18,7 +18,7 @@ FROM python:3.14-slim-bookworm
RUN pip install --no-cache-dir "uv>=0.9,<0.10"
ENV UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy \
UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple \
UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/ \
TZ=Asia/Shanghai
WORKDIR /app