diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..83b9490 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# Pull base image. +FROM jupyter/all-spark-notebook +MAINTAINER xxx + +RUN rm /bin/sh && ln -s /bin/bash /bin/sh + +USER root + +WORKDIR /data +EXPOSE 8888 +CMD jupyter notebook --no-browser --ip=0.0.0.0 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..aab4e6c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +main: + build: . + environment: + PYTHONUNBUFFERED: 0 + volumes: + - ./notebook:/data + ports: + - "8888:8888" diff --git a/notebook/.gitkeep b/notebook/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..654e5b8 --- /dev/null +++ b/readme.md @@ -0,0 +1,8 @@ +# jupyter ... with all the statistics + +## run + +``docker-compose up`` + +surf to: [http://localhost:8888/](http://localhost:8888/) +