fix: PyPI 镜像换阿里云源(清华源对 uv_build 返回 403)
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ FROM python:3.14-slim-bookworm
|
|||||||
RUN pip install --no-cache-dir "uv>=0.9,<0.10"
|
RUN pip install --no-cache-dir "uv>=0.9,<0.10"
|
||||||
ENV UV_COMPILE_BYTECODE=1 \
|
ENV UV_COMPILE_BYTECODE=1 \
|
||||||
UV_LINK_MODE=copy \
|
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
|
TZ=Asia/Shanghai
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user