build: 更新Dockerfile

main
chenzhirong 4 months ago
parent 030c14438e
commit 7df825b380

@ -4,13 +4,11 @@ WORKDIR /3Dpoints
COPY . .
RUN apt update && apt install -y python3-pip
RUN pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple uv
# 因版本问题,这一个要在最后手动安装,否则构建镜像失败
ENV UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple
ENV UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone/
RUN cd /3Dpoints
RUN uv sync

Loading…
Cancel
Save