Skip to content

Commit fd04f0d

Browse files
authored
Merge pull request #800 from Kaggle/disable_nb_conda
Disable nb_conda & nbpresent jupyter extensions
2 parents 03afa5d + 35b4f77 commit fd04f0d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,12 @@ ADD patches/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
488488
# jupyter tensorboard enable
489489
# ADD patches/tensorboard/notebook.py /opt/conda/lib/python3.7/site-packages/tensorboard/notebook.py
490490

491+
# Disable unnecessary jupyter extensions
492+
RUN jupyter-nbextension disable nb_conda --py --sys-prefix && \
493+
jupyter-serverextension disable nb_conda --py --sys-prefix && \
494+
jupyter-nbextension disable nbpresent --py --sys-prefix && \
495+
jupyter-serverextension disable nbpresent --py --sys-prefix
496+
491497
# Set backend for matplotlib
492498
ENV MPLBACKEND "agg"
493499

0 commit comments

Comments
 (0)