diff --git a/spark-pyspark-kafka/Dockerfile b/spark-pyspark-kafka/Dockerfile index ec8531b..1ee2e73 100644 --- a/spark-pyspark-kafka/Dockerfile +++ b/spark-pyspark-kafka/Dockerfile @@ -103,7 +103,7 @@ rm -rf /root/.cache # Startup scripts -COPY start-master.sh start-worker.sh start-kafka.sh /usr/local/bin/ +COPY start-master.sh start-worker.sh start-jupyter.sh start-kafka.sh /usr/local/bin/ # Configuration files COPY spark-defaults.conf $SPARK_HOME/conf @@ -121,7 +121,7 @@ # Override this in your docker-compose.yml or at the command line. # Spark master (default): /usr/local/bin/start-master.sh # Spark worker: /usr/local/bin/start-worker.sh -# PySpark: /usr/local/bin/jupyter notebook --ip=0.0.0.0 --port=8888 --allow-root +# PySpark: /usr/local/bin/start-jupyter.sh # Kafka: /usr/local/bin/start-kafka.sh CMD ["/usr/local/bin/start-master.sh"] # debugging