Allow run.sh to pass extra arguments to ankerctl.py, and exec into it, to avoid a /bin/sh instance.

This commit is contained in:
Christian Iversen 2023-05-25 21:00:26 +02:00
parent 2383325115
commit 7547fcbadf

View file

@ -4,4 +4,4 @@ CONFIG_PATH=/data/options.json
export FLASK_HOST="$(jq --raw-output '.flask_host // empty' $CONFIG_PATH)"
/app/ankerctl.py webserver run
exec /app/ankerctl.py webserver run "${@}"