kopia lustrzana https://github.com/jupyterhub/repo2docker
Add jupyterlab by default to the venv + conda images
rodzic
df934df0b4
commit
fc5c2e81c2
|
@ -37,8 +37,10 @@ WORKDIR /home/jovyan
|
|||
USER jovyan
|
||||
RUN python3 -m venv ${APP_DIR}/venv
|
||||
|
||||
RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 jupyterhub==0.7.2 ipywidgets==5.2.3 && \
|
||||
${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension
|
||||
RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 jupyterhub==0.7.2 ipywidgets==5.2.3 jupyterlab==0.22.1 && \
|
||||
${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
|
||||
${APP_DIR}/venv/bin/jupyter serverextension enable --py jupyterlab --sys-prefix
|
||||
|
||||
|
||||
COPY ./s2i/bin/ /usr/libexec/s2i
|
||||
|
||||
|
|
|
@ -37,8 +37,9 @@ WORKDIR /home/jovyan
|
|||
USER jovyan
|
||||
RUN virtualenv ${APP_DIR}/venv
|
||||
|
||||
RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 git+https://github.com/yuvipanda/jupyterhub-legacy-singleuser@master ipywidgets==5.2.3 && \
|
||||
${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension
|
||||
RUN ${APP_DIR}/venv/bin/pip install --no-cache-dir notebook==5.0.0 git+https://github.com/yuvipanda/jupyterhub-legacy-singleuser@master ipywidgets==5.2.3 jupyterlab==0.22.1 && \
|
||||
${APP_DIR}/venv/bin/jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
|
||||
${APP_DIR}/venv/bin/jupyter serverextension enable --py jupyterlab --sys-prefix
|
||||
|
||||
COPY ./s2i/bin/ /usr/libexec/s2i
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue