Skip to content

Instantly share code, notes, and snippets.

@8bit-pixies
Last active December 10, 2017 11:58
Show Gist options
  • Save 8bit-pixies/ff81fd88353289da008e6f2de0282c5c to your computer and use it in GitHub Desktop.
Save 8bit-pixies/ff81fd88353289da008e6f2de0282c5c to your computer and use it in GitHub Desktop.
Simple test of docker and extending it.
FROM jupyter/r-notebook
# docker build --rm -t jupyter/extended-notebook .
# docker run --rm -it -p 8888:8888 jupyter/extended-notebook
RUN conda install --quiet --yes -c r rstudio=1.1*
RUN conda install --quiet --yes -c anaconda pandas scipy gensim scikit-learn
# install nbrsessionproxy
RUN pip install git+https://github.com/jupyterhub/nbrsessionproxy && \
jupyter serverextension enable --py --sys-prefix nbrsessionproxy && \
jupyter nbextension install --py --sys-prefix nbrsessionproxy && \
jupyter nbextension enable --py --sys-prefix nbrsessionproxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment