jupyterhub-deploy-docker/Dockerfile.jupyterhub
Min RK d3a51902ae Add Makefile
`make build` builds the image, including network and volumes, and pulling the notebook image.
This removes the number of manual steps to get started.
2016-05-12 16:51:22 +02:00

20 lines
619 B
Docker

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
FROM jupyterhub/jupyterhub-onbuild:0.6.1
# Install dockerspawner and its dependencies
RUN /opt/conda/bin/pip install \
jupyterhub==0.6.* \
oauthenticator==0.4.* \
dockerspawner==0.3.*
# Copy TLS certificate and key
ENV SSL_CERT /srv/jupyterhub/secrets/jupyterhub.crt
ENV SSL_KEY /srv/jupyterhub/secrets/jupyterhub.key
COPY ./secrets/*.crt $SSL_CERT
COPY ./secrets/*.key $SSL_KEY
RUN chmod 700 /srv/jupyterhub/secrets && \
chmod 600 /srv/jupyterhub/secrets/*
COPY ./userlist /srv/jupyterhub/userlist