Commit ec2f7948 authored by Chia-liang Kao's avatar Chia-liang Kao

Enable jupyterhub-lab support.

parent 27ba5736
......@@ -34,5 +34,10 @@ fi
if [ ! -z "$JPY_HUB_API_URL" ]; then
NOTEBOOK_ARGS="--hub-api-url=$JPY_HUB_API_URL $NOTEBOOK_ARGS"
fi
if [ ! -z "$JUPYTERHUB_ENABLE_LAB" ]; then
NOTEBOOK_BIN="jupyter labhub"
else
NOTEBOOK_BIN=jupyterhub-singleuser
fi
. /usr/local/bin/start.sh jupyterhub-singleuser $NOTEBOOK_ARGS $@
. /usr/local/bin/start.sh $NOTEBOOK_BIN $NOTEBOOK_ARGS $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment