Skip to content

Commit

Permalink
Merge pull request #1531 from mathbunnyru/asalikhov/fix_notebook_args
Browse files Browse the repository at this point in the history
Fix NOTEBOOK_ARGS pass
  • Loading branch information
mathbunnyru authored Nov 15, 2021
2 parents 9701743 + d73079e commit 42a5fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base-notebook/start-notebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fi

if [[ -n "${JUPYTER_ENABLE_LAB}" ]]; then
# shellcheck disable=SC1091,SC2086
exec /usr/local/bin/start.sh ${wrapper} ${NOTEBOOK_ARGS} jupyter lab "$@"
exec /usr/local/bin/start.sh ${wrapper} jupyter lab ${NOTEBOOK_ARGS} "$@"
else
echo "WARNING: Jupyter Notebook deprecation notice https://github.com/jupyter/docker-stacks#jupyter-notebook-deprecation-notice."
# shellcheck disable=SC1091,SC2086
exec /usr/local/bin/start.sh ${wrapper} ${NOTEBOOK_ARGS} jupyter notebook "$@"
exec /usr/local/bin/start.sh ${wrapper} jupyter notebook ${NOTEBOOK_ARGS} "$@"
fi

0 comments on commit 42a5fe7

Please sign in to comment.