Skip to content

Instantly share code, notes, and snippets.

@N-Coder
Last active March 2, 2022 13:31
Show Gist options
  • Save N-Coder/1ae940169074683f610a6f9a173609a2 to your computer and use it in GitHub Desktop.
Save N-Coder/1ae940169074683f610a6f9a173609a2 to your computer and use it in GitHub Desktop.
mybinder.org ogdf-python
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FROM ncoder/ogdf:2022.02-dogwood
RUN pip install --no-cache-dir notebook jupyterhub jupyterlab
ARG NB_USER=jovyan
ARG NB_UID=1000
ENV USER ${NB_USER}
ENV NB_UID ${NB_UID}
ENV HOME /home/${NB_USER}
RUN adduser --disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
${NB_USER}
# Make sure the contents of our repo are in ${HOME}
COPY . ${HOME}
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
WORKDIR ${HOME}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment