Skip to content

Commit

Permalink
Allow overriding the notebook command (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Sep 18, 2024
1 parent 3fdaed2 commit ddd12ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@ HEALTHCHECK --interval=15s --timeout=3s --start-period=5s --retries=3 \
USER $NB_USER

ENTRYPOINT ["tini", "--", "/usr/bin/prepare.sh"]
CMD ["jupyter", "lab", '--NotebookApp.base_url="${NB_PREFIX:-/}"', '${JUPYTERLAB_ARGS}']
2 changes: 1 addition & 1 deletion notebook/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ fi


# Execute the jupyterlab as specified.
exec start.sh jupyter lab --NotebookApp.base_url="${NB_PREFIX:-/}" ${JUPYTERLAB_ARGS}
exec start.sh $@

0 comments on commit ddd12ab

Please sign in to comment.