feat: 更新Dockerfile

main
chenzhirong 4 months ago
parent 8a2df973d6
commit f80f51f7fa

@ -1,6 +1,6 @@
FROM ubuntu:20.04
WORKDIR /root
WORKDIR /3Dpoints
COPY . .
@ -9,6 +9,6 @@ RUN curl -LsSf https://mirrors.tuna.tsinghua.edu.cn/astral.sh/uv/install.sh | sh
ENV UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple
ENV UV_PYTHON_INSTALL_MIRROR=https://registry.npmmirror.com/-/binary/python-build-standalone/
ENTRYPOINT ["/root/run.sh"]
RUN cd /root/SUSTechPOINTS && uv sync
ENTRYPOINT ["/3Dpoints/run.sh"]
RUN cd /3Dpoints && uv sync
EXPOSE 8081

@ -1,3 +1,3 @@
#!/usr/bin/env bash
cd /root/SUSTechPOINTS && uv sync && uv run main.py
cd /3Dpoints && uv sync && uv run main.py

Loading…
Cancel
Save