feat: add an environment variable to manage rebuild in Docker image (#290)

Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Sébastien Prud'homme 2023-05-18 19:18:32 +02:00 committed by GitHub
parent cc9aa9eb3f
commit 1a7587ee48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View file

@ -2,6 +2,8 @@
cd /build
make build
if [ "$REBUILD" != "false" ]; then
make rebuild
fi
./local-ai "$@"