mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
12 lines
396 B
Docker
12 lines
396 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.
|
|
|
|
FROM jupyterhub/jupyterhub
|
|
|
|
ONBUILD ADD jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
|
|
|
|
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"]
|