Skip to content

Commit 09178a8

Browse files
committed
fix: correct repository name in image source label and update package installation
1 parent d76f7ad commit 09178a8

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

Dockerfile

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
FROM jupyter/base-notebook:latest
22

3-
LABEL org.opencontainers.image.source=https://github.com/IMTEK-Simulation/Docker4Teching
3+
LABEL org.opencontainers.image.source=https://github.com/IMTEK-Simulation/Docker4Teaching
44

55
USER root
66

7-
# install system dependencies here
8-
# RUN apt-get update && apt-get install -y build-essential git
9-
10-
RUN pip install --no-cache-dir \
7+
RUN conda install -c conda-forge --yes \
118
numpy \
129
pandas \
1310
matplotlib \
11+
scipy \
1412
scikit-learn \
15-
jupyterlab
13+
fenics-dolfinx \
14+
pyvista \
15+
python-gmsh \
16+
jupytext \
17+
jupyterlab \
18+
patsy \
19+
pip \
20+
&& conda clean -afy
1621

17-
# Set workdir and revert to non-root user used by jupyter images
1822
WORKDIR /home/jovyan/work
23+
1924
USER $NB_UID
2025

21-
# Expose notebook port and default command (image already has a start script)
2226
EXPOSE 8888
27+
2328
CMD ["start-notebook.sh", "--NotebookApp.token=''"]

0 commit comments

Comments
 (0)