LocalAI/entrypoint.sh
Sébastien Prud'homme 1a7587ee48
feat: add an environment variable to manage rebuild in Docker image (#290)
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2023-05-18 19:18:32 +02:00

9 lines
92 B
Bash
Executable File

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