diff --git a/aio/entrypoint.sh b/aio/entrypoint.sh index a2e040fa6..5fd8d9c21 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 05f671284..fb8417dfc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -47,4 +47,4 @@ else echo "@@@@@" fi -./local-ai "$@" +exec ./local-ai "$@"