Skip to content

Instantly share code, notes, and snippets.

@vndee
Created September 9, 2021 15:10
Show Gist options
  • Save vndee/68b5dbeae969b518d1ea7984534d5173 to your computer and use it in GitHub Desktop.
Save vndee/68b5dbeae969b518d1ea7984534d5173 to your computer and use it in GitHub Desktop.
# JupyterLab
FROM cluster-base
# -- Layer: JupyterLab
ARG spark_version=3.0.0
ARG jupyterlab_version=2.1.5
RUN apt-get update -y && \
apt-get install -y python3-pip && \
pip3 install wget pyspark==${spark_version} jupyterlab==${jupyterlab_version}
# -- Runtime
EXPOSE 8888
WORKDIR ${SHARED_WORKSPACE}
CMD jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --NotebookApp.token=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment