From aac1340ca16d163f7c16c048a3cbfbe8361aeeb1 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Tue, 19 Jan 2021 20:42:34 +0100 Subject: [PATCH] [jupyterhub] Add jupyterlab iframe extension --- jupyterhub/base/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile index f0037e5..b19b41d 100755 --- a/jupyterhub/base/Dockerfile +++ b/jupyterhub/base/Dockerfile @@ -56,6 +56,10 @@ RUN python${PYTHON_VERSION} -m pip install jupyterlab_code_formatter==1.3.8 && \ RUN python${PYTHON_VERSION} -m pip install jupyterlab-git && \ python${PYTHON_VERSION} -m jupyter lab build +RUN python${PYTHON_VERSION} -m pip install jupyterlab_iframe && \ + python${PYTHON_VERSION} -m jupyter labextension install jupyterlab_iframe && \ + python${PYTHON_VERSION} -m jupyter serverextension enable --py jupyterlab_iframe + RUN mkdir -p /usr/local/venv && \ python${PYTHON_VERSION} -m venv /usr/local/venv/default && \ . /usr/local/venv/default/bin/activate && \ -- GitLab