Skip to content

Commit d4b787e

Browse files
committed
Merge branch 'master' of github.com:nthiery/test-binder-sage
2 parents ff7c017 + 43c6f9c commit d4b787e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ 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/
11+
COPY jupyter jupyter-notebook /usr/bin/
1212
RUN chown -R ${NB_USER}:${NB_USER} ${HOME}
1313
USER ${NB_USER}
1414

1515
# Upgrade to jupyter 5.* as required by mybinder
16-
RUN sage -pip install --upgrade notebook
16+
RUN sage -pip install "notebook>=5" "ipykernel>=4.6"
1717

1818
# Install additional kernels
1919
RUN sage -i gap_jupyter

jupyter

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/sh
2-
exec /usr/bin/sage -sh jupyter "$@"
2+
shift
3+
exec /usr/bin/sage -notebook jupyter "$@"

jupyter-notebook

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

0 commit comments

Comments
 (0)