Add jupyterlab by default to the venv + conda images

pull/22/head
yuvipanda 2017-06-01 12:27:20 -07:00
rodzic df934df0b4
commit fc5c2e81c2
2 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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