Created
February 25, 2018 05:48
-
-
Save orleika/3c5c4ceb6acd4550ffc74a94dbaa0989 to your computer and use it in GitHub Desktop.
jupyter_datascience-notebook-parallel
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
version: '3' | |
services: | |
jupyterlab: | |
image: jupyter-parallel | |
build: | |
context: . | |
cache_from: | |
- jupyter/datascience-notebook:latest | |
ports: | |
- '8888:8888' | |
volumes: | |
- ./work:/home/jovyan/work | |
command: start-notebook.sh --NotebookApp.token='' |
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
FROM jupyter/datascience-notebook | |
USER root | |
RUN apt-get update \ | |
&& apt-get install mpich -y \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
USER $NB_USER | |
RUN pip install ipyparallel mpi4py \ | |
&& jupyter nbextension install --sys-prefix --py ipyparallel \ | |
&& jupyter nbextension enable --sys-prefix --py ipyparallel \ | |
&& jupyter serverextension enable --sys-prefix --py ipyparallel \ | |
&& ipython profile create --parallel --profile=default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment