diff --git a/Makefile b/Makefile index 7dccd1e..13d6a0f 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/public_html/index.html b/public_html/index.html new file mode 100644 index 0000000..e69de29 diff --git a/singleuser/Dockerfile b/singleuser/Dockerfile index 79cb44e..849fa52 100644 --- a/singleuser/Dockerfile +++ b/singleuser/Dockerfile @@ -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.