From 949472a7a849fa7f6e85d26e6a683a31a6c7fc2f Mon Sep 17 00:00:00 2001 From: Arpita Patel Date: Fri, 6 Oct 2023 11:03:18 -0500 Subject: [PATCH] Added nbfetch for hydroshare --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8f0e701..7a6154f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,6 +65,11 @@ RUN pip install spatialpandas easydev colormap colorcet duckdb dask_geopandas nb # apt-get clean -q #RUN pip3 install numpy pandas xarray netcdf4 joblib toolz pyyaml Cython +# Install nbfetch for hydroshare +pip install -U --no-cache-dir --upgrade-strategy only-if-needed git+https://github.com/hydroshare/nbfetch.git@master +# enable jupyter_server extension +jupyter server extension enable --py nbfetch --sys-prefix + # Update custom Jupyter Lab settings RUN sed -i 's/\"default\": true/\"default\": false/g' /srv/conda/envs/notebook/share/jupyter/labextensions/@axlair/jupyterlab_vim/schemas/@axlair/jupyterlab_vim/plugin.json