First complete version
This commit is contained in:
16
obijupyterhub/Dockerfile.hub
Normal file
16
obijupyterhub/Dockerfile.hub
Normal file
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user