mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: do not build from the same container (#434)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
parent
49ce24984c
commit
6d71dd7d98
2 changed files with 52 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /build
|
||||
|
||||
if [ "$REBUILD" != "false" ]; then
|
||||
make rebuild
|
||||
rm -rf ./local-ai
|
||||
make build
|
||||
fi
|
||||
|
||||
./local-ai "$@"
|
Loading…
Add table
Add a link
Reference in a new issue