Skip to content

Commit 6cb716d

Browse files
committed
Make sure gunicorn runs inside $DATA_DIR path
- Changes directory to $DATA_DIR to execute the gunicorn command in the docker entry cmd script. This ensures that satosa will find proxy_conf.yaml and the relevant files (plugins etc) - Solves issue where docker image was broken after #278
1 parent 803bf24 commit 6cb716d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ then chain_opts="--ca-certs chain.pem"
5757
fi
5858

5959
# start the proxy
60-
exec gunicorn $conf_opt \
60+
(cd $DATA_DIR; exec gunicorn $conf_opt \
6161
-b 0.0.0.0:"${PROXY_PORT}" \
6262
satosa.wsgi:app \
6363
$https_opts \
6464
$chain_opts \
65-
;
65+
;)

0 commit comments

Comments
 (0)