Skip to content

Commit 35b4f77

Browse files
committed
Disable nb_conda & nbpresent jupyter extensions
1 parent 03afa5d commit 35b4f77

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)