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

This commit is contained in:
cryptk authored and GitHub committed 2024-04-02 09:15:44 +02:00
1 parent e8f02c083f
commit 86bc5f1350
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -135,4 +135,4 @@ check_vars
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
/build/entrypoint.sh "$@"
exec /build/entrypoint.sh "$@"
+1 -1
View File
@@ -47,4 +47,4 @@ else
echo "@@@@@"
fi
./local-ai "$@"
exec ./local-ai "$@"