Skip to content

Commit b128c44

Browse files
committed
switched to mamba for memory usage
1 parent 54afb11 commit b128c44

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

Dockerfile

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,19 @@ LABEL org.opencontainers.image.source=https://github.com/IMTEK-Simulation/Docker
44

55
USER root
66

7-
# Install basic scientific packages first
8-
RUN conda install -c conda-forge --yes \
7+
# Install mamba for faster package resolution
8+
RUN conda install -c conda-forge mamba --yes
9+
10+
# Use mamba instead of conda for better memory usage
11+
RUN mamba install -c conda-forge --yes \
912
numpy \
1013
pandas \
1114
matplotlib \
1215
scipy \
13-
&& conda clean -afy
14-
15-
# Install machine learning and visualization packages
16-
RUN conda install -c conda-forge --yes \
1716
scikit-learn \
18-
pyvista \
19-
&& conda clean -afy
20-
21-
# Install FeniCS and related packages
22-
RUN conda install -c conda-forge --yes \
2317
fenics-dolfinx \
18+
pyvista \
2419
python-gmsh \
25-
&& conda clean -afy
26-
27-
# Install Jupyter and utility packages
28-
RUN conda install -c conda-forge --yes \
2920
jupytext \
3021
jupyterlab \
3122
patsy \

0 commit comments

Comments
 (0)