jupyterhub-deploy-docker/Dockerfile.jupyterhub
Michael Pilosov 008e2bf6c4 cleanup
2021-11-27 20:06:45 -07:00

22 lines
762 B
Docker
Executable File

# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
ARG JUPYTERHUB_VERSION
FROM jupyterhub/jupyterhub-onbuild:$JUPYTERHUB_VERSION
# Install dockerspawner, oauth, postgres
RUN pip install psycopg2-binary~=2.7 && \
pip install --no-cache-dir \
oauthenticator==0.8.*
RUN pip install jupyterhub-hashauthenticator dockerspawner~=12.0
RUN pip install jupyterhub-idle-culler
# 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