新增uv安装模式

This commit is contained in:
2026-03-11 09:57:29 +08:00
parent 559d5bb8e3
commit 90216a762a
+2 -1
View File
@@ -7,7 +7,8 @@ RUN conda install -y -c conda-forge python=3.12 pymetis && \
conda clean -afy
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install uv
RUN uv pip install --no-cache-dir -r requirements.txt
# 将代码放入子目录 'app',将数据放入子目录 'db_inp'
# 这样临时文件默认会生成在 /app 下,而代码在 /app/app 下,实现了分离