Files
jupyterhub/onbuild/Dockerfile
2018-04-26 16:43:56 +02:00

13 lines
425 B
Docker

# JupyterHub Dockerfile that loads your jupyterhub_config.py
#
# Adds ONBUILD step to jupyter/jupyterhub to load your juptyerhub_config.py into the image
#
# Derivative images must have jupyterhub_config.py next to the Dockerfile.
ARG BASE_IMAGE=jupyterhub/jupyterhub
FROM ${BASE_IMAGE}
ONBUILD ADD jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"]