Skip to content

Commit

Permalink
Added code samples to spark folder in jupyter setup
Browse files Browse the repository at this point in the history
  • Loading branch information
luisbelloch committed Feb 8, 2018
1 parent f8f4187 commit c8bd260
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion infra/pyspark-jupyter/pyspark-jupyter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ abs_path() {
echo "$(cd "$(dirname "$1")" && pwd)/$(basename "$1")"
}

docker run -p 8888:8888 -v $(abs_path "../../data"):/opt/notebook/data -ti luisbelloch/pyspark-jupyter
docker run -p 8888:8888 \
-v $(abs_path "../../data"):/opt/notebook/data \
-v $(abs_path "../../spark"):/opt/notebook/spark \
-ti luisbelloch/pyspark-jupyter

0 comments on commit c8bd260

Please sign in to comment.