Files
OBIJupyterHub/obijupyterhub/Dockerfile.hub

16 lines
413 B
Docker
Raw Normal View History

2025-10-14 17:40:41 +02:00
FROM jupyterhub/jupyterhub:latest
2025-10-15 07:10:44 +02:00
# Install DockerSpawner
2025-10-14 17:40:41 +02:00
RUN pip install dockerspawner
2025-10-15 07:10:44 +02:00
# Copy configuration
2025-10-14 17:40:41 +02:00
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
2025-11-16 14:56:03 +01:00
COPY jupyterhub_templates/login.html /srv/venv/share/jupyterhub/templates/login.html
2025-10-15 07:10:44 +02:00
# Expose port
2025-10-14 17:40:41 +02:00
EXPOSE 8000
2025-10-15 07:10:44 +02:00
# Working directory
2025-10-14 17:40:41 +02:00
WORKDIR /srv/jupyterhub
2025-10-15 07:10:44 +02:00
# Startup command
2025-10-14 17:40:41 +02:00
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"]