-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,21 @@ FROM andrewosh/binder-base | |
|
||
MAINTAINER Logan G. Page <[email protected]> | ||
|
||
# Update form requirements | ||
RUN pip3 install -r requirements.txt | ||
### Python2 ### | ||
# Install from requirements | ||
RUN pip install -r requirements.txt | ||
|
||
# Install and enable extensions | ||
RUN pip3 install nbtutor | ||
RUN jupyter nbextension install --sys-prefix --py nbtutor | ||
RUN jupyter nbextension enable --sys-prefix --py nbtutor | ||
RUN jupyter-nbextension install --sys-prefix --py nbtutor | ||
RUN jupyter-nbextension enable --sys-prefix --py nbtutor | ||
|
||
### Python3 ### | ||
# Install from requirements | ||
RUN /home/main/anaconda2/envs/python3/bin/pip install -r requirements.txt | ||
|
||
# Install and enable extensions | ||
RUN /home/main/anaconda2/envs/python3/bin/jupyter-nbextension install --sys-prefix --py nbtutor | ||
RUN /home/main/anaconda2/envs/python3/bin/jupyter-nbextension enable --sys-prefix --py nbtutor | ||
|
||
# Install notebook config | ||
ADD jupyter_notebook_config.py /home/main/.jupyter/jupyter_notebook_config.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ jupyter | |
jupyter_core | ||
jupyter_client | ||
notebook>=4.2 | ||
nbtutor | ||
six |