-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (24 loc) · 800 Bytes
/
Copy pathDockerfile
File metadata and controls
33 lines (24 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM jupyter/scipy-notebook:b2562c469cdd
# START Binder compatibility code
# from https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
ARG NB_USER
ARG NB_UID
ENV USER ${NB_USER}
ENV NB_UID ${NB_UID}
ENV HOME /home/${NB_USER}
COPY . ${HOME}/work
USER root
RUN chown -R ${NB_UID} ${HOME}
# END binder compatibility code
USER ${NB_USER}
# Add modification code here
# Upgrade Jupyter install
RUN pip install --upgrade jupyter jupyter-core jupyter-console pyzmq tornado traitlets
# Jupyter Notebook extensions
RUN \
pip install jupyter_contrib_nbextensions && \
jupyter contrib nbextension install --sys-prefix
RUN jupyter nbextensions_configurator enable --sys-prefix
# Packages
RUN pip install jupyterthemes gspread papermill pytz
RUN pip install --upgrade oauth2client