Skip to content

Commit

Permalink
Try fixing nbextension-configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 22, 2023
1 parent b7172ed commit 2789e02
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && mamba clean -afy
# So we download alongside our packages.
# Note that textblob.download_corpora just calls nltk to download corpora
ENV NLTK_DATA ${CONDA_DIR}/nltk_data
RUN mkdir -p ${NLTK_DATA} && python -m textblob.download_corpora
RUN mkdir -p ${NLTK_DATA} && python -m textblob.download_corpora

RUN jupyter nbclassic-extension install --sys-prefix --py jupyter_nbextensions_configurator --overwrite
RUN jupyter nbclassic-extension enable --sys-prefix --py jupyter_nbextensions_configurator
RUN jupyter nbclassic-serverextension install --sys-prefix --py jupyter_nbextensions_configurator --overwrite
RUN jupyter nbclassic-serverextension enable --sys-prefix --py jupyter_nbextensions_configurator

0 comments on commit 2789e02

Please sign in to comment.