Last active
March 2, 2022 13:31
-
-
Save N-Coder/1ae940169074683f610a6f9a173609a2 to your computer and use it in GitHub Desktop.
mybinder.org ogdf-python
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
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