16 lines
329 B
Docker
16 lines
329 B
Docker
FROM jupyterhub/jupyterhub:latest
|
|
|
|
# Install DockerSpawner
|
|
RUN pip install dockerspawner
|
|
|
|
# Copy configuration
|
|
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py
|
|
|
|
# Expose port
|
|
EXPOSE 8000
|
|
|
|
# Working directory
|
|
WORKDIR /srv/jupyterhub
|
|
|
|
# Startup command
|
|
CMD ["jupyterhub", "-f", "/srv/jupyterhub/jupyterhub_config.py"] |