diff --git a/aio/entrypoint.sh b/aio/entrypoint.sh index a2e040fa..5fd8d9c2 100755 --- a/aio/entrypoint.sh +++ b/aio/entrypoint.sh @@ -135,4 +135,4 @@ check_vars echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS" -/build/entrypoint.sh "$@" +exec /build/entrypoint.sh "$@" diff --git a/entrypoint.sh b/entrypoint.sh index 05f67128..fb8417df 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -47,4 +47,4 @@ else echo "@@@@@" fi -./local-ai "$@" +exec ./local-ai "$@"