forked from jupyterhub/oauthenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 656 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Designed to be run as
#
# docker run -it -p 8000:8000 jupyterhub/oauthenticator
FROM jupyterhub/jupyterhub
MAINTAINER Project Jupyter <ipython-dev@scipy.org>
# Install oauthenticator from git
RUN python3 -m pip install oauthenticator
# Create oauthenticator directory and put necessary files in it
RUN mkdir /srv/oauthenticator
WORKDIR /srv/oauthenticator
ENV OAUTHENTICATOR_DIR /srv/oauthenticator
ADD jupyterhub_config.py jupyterhub_config.py
ADD addusers.sh /srv/oauthenticator/addusers.sh
ADD userlist /srv/oauthenticator/userlist
ADD ssl /srv/oauthenticator/ssl
RUN chmod 700 /srv/oauthenticator
RUN ["sh", "/srv/oauthenticator/addusers.sh"]