@@ -16,22 +16,18 @@ RUN apt-get update && apt-get install -y \
1616 software-properties-common \
1717 python3 \
1818 python3-pip
19-
20- # Install scorep from PPA
19+
20+ # Install scorep from PPA
2121RUN add-apt-repository -y ppa:score-p/releases \
2222 && apt-get update \
2323 && apt-get install -y scorep
2424
2525# Upgrade pip and install base Python dependencies
26- RUN pip3 install pip setuptools wheel
26+ RUN pip3 install --upgrade pip setuptools wheel
2727
2828# Install Score-P Python bindings
2929RUN pip3 install --no-cache-dir scorep
3030
31- # Install JUmPER kernel
32- RUN pip3 install --no-cache-dir jumper-kernel && \
33- python3 -m jumper.install
34-
3531# Create jovyan user with UID 1000 (Binder requirement)
3632RUN adduser --disabled-password \
3733 --gecos "Default user" \
@@ -50,11 +46,14 @@ USER ${NB_USER}
5046# Ensure the PATH includes the correct Python location
5147ENV PATH="${HOME}/.local/bin:${PATH}"
5248
49+ # Install JupyterLab and notebook
50+ RUN pip install --no-cache-dir jupyterlab notebook
51+
5352# Install project dependencies from pyproject.toml using pip
5453RUN pip install --no-cache-dir .
5554
56- # Install JupyterLab and notebook
57- RUN pip install --no-cache-dir jupyterlab notebook
55+ # Install JUmPER
56+ RUN python3 -m jumper. install --user
5857
5958# Expose Jupyter Notebook port
6059EXPOSE 8888
0 commit comments