mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 03:23:00 +00:00

* letencrypt workflow * Don't mount self-signed secrets directory over runtime dir where nbextensions might be preinstalled from Dockerfile (c) Copyright IBM Corp. 2015
13 lines
428 B
Makefile
13 lines
428 B
Makefile
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
|
|
self-signed-notebook: PORT?=443
|
|
self-signed-notebook: NAME?=notebook
|
|
self-signed-notebook: WORK_VOLUME?=$(NAME)-data
|
|
self-signed-notebook: DOCKER_ARGS:=-e USE_HTTPS=yes \
|
|
-e PASSWORD=$(PASSWORD)
|
|
self-signed-notebook: check
|
|
@test -n "$(PASSWORD)" || \
|
|
(echo "ERROR: PASSWORD not defined or blank"; exit 1)
|
|
$(RUN_NOTEBOOK)
|