更新 dockerfile,提高打包效率
This commit is contained in:
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
FROM continuumio/miniconda3:latest
|
FROM condaforge/miniforge3:latest
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# 安装 Python 3.12 和 pymetis (通过 conda-forge 避免编译问题)
|
# 安装 Python 3.12 和 pymetis (通过 conda-forge 避免编译问题)
|
||||||
RUN conda install -y -c conda-forge python=3.12 pymetis && \
|
RUN mamba install -y python=3.12 pymetis && \
|
||||||
conda clean -afy
|
mamba clean -afy
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install uv
|
RUN pip install uv
|
||||||
|
|||||||
Reference in New Issue
Block a user