feature: Dockerfile 修改uv源

This commit is contained in:
贺海国
2026-04-16 09:16:01 +08:00
parent 96bcc860fe
commit 19f17c71e5

View File

@@ -4,6 +4,9 @@ FROM 172.16.102.3:30648/astral-sh/uv:python3.14-bookworm
# 设置工作目录 # 设置工作目录
WORKDIR /app WORKDIR /app
# 配置 uv 使用清华 PyPI 镜像源
ENV UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
# 安装系统依赖 # 安装系统依赖
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
gcc \ gcc \