getting ready for deploy.

This commit is contained in:
Michael Pilosov 2019-01-02 01:43:28 +00:00
parent aaa8e7c7d0
commit ccd1ee7e4b
3 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,10 @@ secrets/jupyterhub.key:
@echo "Need an SSL key in secrets/jupyterhub.key"
@exit 1
secrets/acme.json:
@chmod 600 secrets/acme.json
@exit 1
userlist:
@echo "Add usernames, one per line, to ./userlist, such as:"
@echo " zoe admin"
@ -45,7 +49,7 @@ userlist:
# cert_files=
#endif
#check-files: userlist $(cert_files) secrets/oauth.env secrets/postgres.env
check-files: userlist secrets/acme.json secrets/oauth.env secrets/postgres.env public_html/index.html
pull:
docker pull $(DOCKER_NOTEBOOK_IMAGE)

0
public_html/index.html Normal file
View File

View File

@ -2,3 +2,4 @@ ARG DOCKER_NOTEBOOK_IMAGE
FROM $DOCKER_NOTEBOOK_IMAGE
ARG JUPYTERHUB_VERSION
RUN python3 -m pip install --no-cache jupyterhub==$JUPYTERHUB_VERSION
#any additional installations go here.