Files
OBIJupyterHub/Dockerfile.hub

16 lines
357 B
Docker
Raw Normal View History

2025-10-14 17:40:41 +02:00
FROM jupyterhub/jupyterhub:latest
# Installation de DockerSpawner
RUN pip install dockerspawner
# Copie de la configuration
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
# Port exposé
EXPOSE 8000
# Répertoire de travail
WORKDIR /srv/jupyterhub
# Commande de démarrage
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"]