entrypoint: Build before starting

Because /v/share/jupyter/lab is now a volume, there is the potential
that it will be empty or out-of-date. We should always kick off a build
before starting jupyter-lab.
This commit is contained in:
Matthew Connelly 2022-08-17 16:44:14 +01:00
parent eacfa0523b
commit 48c5fda6f3
1 changed files with 2 additions and 0 deletions

View File

@ -13,4 +13,6 @@ cd $DATADIR
[ ! -f $JUPYCNF ] && cp $JUPYDEF $JUPYCNF [ ! -f $JUPYCNF ] && cp $JUPYDEF $JUPYCNF
[ -f $JUREQFL ] && pip install -Ur $JUREQFL [ -f $JUREQFL ] && pip install -Ur $JUREQFL
jupyter lab build
( $@ ) ( $@ )