Skip to content

Instantly share code, notes, and snippets.

@N-Coder
Last active June 10, 2022 10:46
Show Gist options
  • Save N-Coder/42204b3f21e877b1e81938f8043083d9 to your computer and use it in GitHub Desktop.
Save N-Coder/42204b3f21e877b1e81938f8043083d9 to your computer and use it in GitHub Desktop.
ogdf-python-widget Notebook for simulating a Kami Graph
# Docker container for running OGDF Jupyter notebooks on mybinder.org
# based on https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
FROM ncoder/ogdf:2022.02-dogwood
RUN pip install -U --no-cache-dir notebook jupyterhub jupyterlab ogdf-python-widget==0.1.0a0 git+https://github.com/N-Coder/ogdf-python.git
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}
COPY . ${HOME}
USER root
RUN chown -R ${NB_UID} ${HOME}
USER ${NB_USER}
WORKDIR ${HOME}
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment