LocalAI/entrypoint.sh
Ettore Di Giacinto 6d71dd7d98
fix: do not build from the same container (#434)
Signed-off-by: mudler <mudler@mocaccino.org>
2023-05-30 15:53:37 +02:00

11 lines
116 B
Bash
Executable File

#!/bin/bash
set -e
cd /build
if [ "$REBUILD" != "false" ]; then
rm -rf ./local-ai
make build
fi
./local-ai "$@"