diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index c42798f..870551f 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -14,13 +14,7 @@ RUN apt-get update && apt-get -yq dist-upgrade && \ less \ vim && \ rm -rf /var/lib/apt/lists/* && \ - pip install --no-cache-dir \ - ipydeps \ - jupyterlab_nbgallery \ - jupyter_nbgallery \ - ipywidgets \ - jupyter_console \ - voila && \ + pip install --no-cache-dir -r /etc/requirements.txt && \ jupyter labextension disable @jupyterlab_nbgallery/autodownload && \ jupyter labextension disable @jupyterlab_nbgallery/instrumentation && \ echo '######################################## nbgallery configuration' && \ diff --git a/base-notebook/conf/etc/requirements.txt b/base-notebook/conf/etc/requirements.txt new file mode 100644 index 0000000..97e275b --- /dev/null +++ b/base-notebook/conf/etc/requirements.txt @@ -0,0 +1,7 @@ +ipydeps==2020.240.0 +ipywidgets==8.1.0 +jupyter-console==6.6.3 +jupyter-nbgallery==3.0.0 +jupyterlab_nbgallery==3.0.2 +voila==0.5.0 +