From eb3c373c6f40e83b7debba12e760235bdc4f16a4 Mon Sep 17 00:00:00 2001 From: maltegrosse Date: Tue, 24 Jan 2023 16:44:50 +0100 Subject: [PATCH] add npm --- Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 56dec0d..55150d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -329,7 +329,7 @@ LABEL authors="Christoph Schranz , Mathem USER root RUN pip install --no-cache-dir ipyleaflet "plotly>=4.14.3" "ipywidgets>=7.5" - +RUN conda install -c conda-forge nodejs # Install important packages and Graphviz RUN set -ex \ && buildDeps=' \ @@ -346,6 +346,7 @@ RUN fix-permissions $CONDA_DIR # RUN pip install jupyterlab-git RUN pip install jupyterlab-drawio RUN jupyter nbextension enable --py --sys-prefix ipyleaflet + RUN jupyter labextension install jupyterlab-plotly RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget # RUN pip install --no-cache-dir jupyter-tabnine --user && \ @@ -359,6 +360,13 @@ RUN jupyter labextension install @ijmbarr/jupyterlab_spellchecker RUN fix-permissions /home/$NB_USER + +## add sandbox plugins +RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-sandbox-theme +RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-data-pool +RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-training +RUN pip install --extra-index-url https://git.sandbox.iuk.hdm-stuttgart.de/api/packages/grosse/pypi/simple jupyterlab-synthetic-data + # Switch back to jovyan to avoid accidental container runs as root USER $NB_UID