fix: use exec in entrypoint scripts to fix signal handling (#1943)

This commit is contained in:
cryptk 2024-04-02 02:15:44 -05:00 committed by GitHub
parent e8f02c083f
commit 86bc5f1350
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -135,4 +135,4 @@ check_vars
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
/build/entrypoint.sh "$@"
exec /build/entrypoint.sh "$@"

View File

@ -47,4 +47,4 @@ else
echo "@@@@@"
fi
./local-ai "$@"
exec ./local-ai "$@"