You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
414 B
Docker

FROM ubuntu:20.04
WORKDIR /3Dpoints
COPY . .
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
RUN cd /3Dpoints
RUN uv sync
ENTRYPOINT ["/3Dpoints/run.sh"]
EXPOSE 8081