Created
September 9, 2021 15:10
-
-
Save vndee/68b5dbeae969b518d1ea7984534d5173 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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