mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
fix: use exec in entrypoint scripts to fix signal handling (#1943)
This commit is contained in:
parent
e8f02c083f
commit
86bc5f1350
@ -135,4 +135,4 @@ check_vars
|
||||
|
||||
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
|
||||
|
||||
/build/entrypoint.sh "$@"
|
||||
exec /build/entrypoint.sh "$@"
|
||||
|
@ -47,4 +47,4 @@ else
|
||||
echo "@@@@@"
|
||||
fi
|
||||
|
||||
./local-ai "$@"
|
||||
exec ./local-ai "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user