RUN pip install --no-cache notebook jupyterlab
RUN pip install npm
RUN pip install ipywidgets
RUN pip install mstrio-py
RUN pip install jupyter_contrib_nbextensions
RUN jupyter contrib nbextension install --user
RUN jupyter nbextension install connector-jupyter --py --sys-prefix
RUN jupyter nbextension enable connector-jupyter --py --sys-prefix
ARG NB_USER=jovyan
ARG NB_UID=1000
ENV USER ${NB_USER}
ENV NB_UID ${NB_UID}
ENV HOME /home/${NB_USER}
RUN adduser --disabled-password
–gecos “Default user”
–uid ${NB_UID}
${NB_USER}
COPY . ${HOME}
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
I tried with ipyleaflet extension. It is working perfectly in binderhub. Also when I running the docker image in local, mstrio-py plugin works. The issue is with binderhub only.
Ok. I will try that. One more observation,I can see /hub is url is appended with the static url. These files are not loading when the jupyter page launches in binderhub.