mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00

See https://github.com/jupyterhub/team-compass/issues/688 for context. I've also added `QUAY_USERNAME` and `QUAY_PASSWORD` to environment secrets, but *not* `env.REGISTRY`. I will do so once this gets merged.
13 lines
439 B
Docker
13 lines
439 B
Docker
# JupyterHub Dockerfile that loads your jupyterhub_config.py
|
|
#
|
|
# Adds ONBUILD step to jupyter/jupyterhub to load your jupyterhub_config.py into the image
|
|
#
|
|
# Derivative images must have jupyterhub_config.py next to the Dockerfile.
|
|
|
|
ARG BASE_IMAGE=quay.io/jupyterhub/jupyterhub:latest
|
|
FROM $BASE_IMAGE
|
|
|
|
ONBUILD COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
|
|
|
|
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"]
|