From b6ab691ebd246c47bbebf28e67992ffbe7b28b4a Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Fri, 14 Jun 2019 17:02:12 +0100 Subject: [PATCH] [docker] Fix docker-init missing FLASK_APP (#7709) --- contrib/docker/docker-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/docker/docker-init.sh b/contrib/docker/docker-init.sh index c5270156c..2ef5ac47c 100755 --- a/contrib/docker/docker-init.sh +++ b/contrib/docker/docker-init.sh @@ -18,6 +18,7 @@ set -ex # Create an admin user (you will be prompted to set username, first and last name before setting a password) +export FLASK_APP=superset:app flask fab create-admin # Initialize the database