Skip to content

Commit f3d7259

Browse files
committed
Add jupyter script calling sage -notebook jupyter
1 parent 9f98168 commit f3d7259

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ ENV HOME /home/${NB_USER}
88
# Make sure the contents of our repo are in ${HOME}
99
COPY . ${HOME}
1010
USER root
11+
COPY jupyter /usr/bin/
1112
RUN chown -R ${NB_USER}:${NB_USER} ${HOME}
1213
USER ${NB_USER}

jupyter

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
shift # gobbles up the notebook argument
4+
exec /usr/bin/sage -notebook jupyter "$@"

0 commit comments

Comments
 (0)