diff --git a/Dockerfile b/Dockerfile index 7db8f13..1b7e5fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,11 @@ WORKDIR /3Dpoints COPY . . -RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple uv +RUN apt update && apt install -y python3-pip git wget + +RUN pip install --upgrade pip + +RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple uv # 因版本问题,这一个要在最后手动安装,否则构建镜像失败 ENV UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple