Skip to content

Instantly share code, notes, and snippets.

@lsloan
Last active May 24, 2021 20:02
Show Gist options
  • Save lsloan/457d214cf22cba1421ddf8d261771e49 to your computer and use it in GitHub Desktop.
Save lsloan/457d214cf22cba1421ddf8d261771e49 to your computer and use it in GitHub Desktop.
Start JupyterLab in Docker after installing telemetry extension
ARG BASE_CONTAINER=jupyter/minimal-notebook
FROM $BASE_CONTAINER
# Is this a good place for this? This directory was available and
# seemed like a good location for this.
WORKDIR /home/jovyan/work
ENV JUPYTER_ENABLE_LAB='yes'
RUN git clone https://github.com/educational-technology-collective/hwf-jupyterlab-telemetry && \
cd hwf-jupyterlab-telemetry && \
pip install -e . && \
jupyter labextension develop . --overwrite && \
jupyter server extension enable hwf-jupyterlab-telemetry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment