Last active
June 10, 2022 10:46
-
-
Save N-Coder/42204b3f21e877b1e81938f8043083d9 to your computer and use it in GitHub Desktop.
ogdf-python-widget Notebook for simulating a Kami Graph
This file contains 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
# 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} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment