cmd/satellite: add API run command to satellite dockerfile entrypoint (#3319)

* update satellite entrypoint to add API run command

* make true a string for clarity
This commit is contained in:
Jess G 2019-10-21 09:16:59 -07:00 committed by GitHub
parent 244fea774b
commit 1014d5a7d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,4 +25,8 @@ fi
RUN_PARAMS="${RUN_PARAMS:-} --config-dir ${CONF_PATH}"
if [ "${SATELLITE_API:-}" = "true" ]; then
exec ./satellite run api $RUN_PARAMS "$@"
fi
exec ./satellite run $RUN_PARAMS "$@"