First version of obijupyterhub

This commit is contained in:
Eric Coissac
2025-10-14 17:40:41 +02:00
commit 65d94c5719
6 changed files with 463 additions and 0 deletions

16
Dockerfile.hub Normal file
View File

@@ -0,0 +1,16 @@
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"]