feature: Dockerfile 修改uv源
This commit is contained in:
@@ -4,6 +4,9 @@ FROM 172.16.102.3:30648/astral-sh/uv:python3.14-bookworm
|
||||
# 设置工作目录
|
||||
WORKDIR /app
|
||||
|
||||
# 配置 uv 使用清华 PyPI 镜像源
|
||||
ENV UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# 安装系统依赖
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gcc \
|
||||
|
||||
Reference in New Issue
Block a user