mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-16 14:40:56 +00:00
feat(model): Support database model registry (#1656)
This commit is contained in:
17
docker/base/build_proxy_image.sh
Executable file
17
docker/base/build_proxy_image.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_LOCATION=$0
|
||||
cd "$(dirname "$SCRIPT_LOCATION")"
|
||||
WORK_DIR=$(pwd)
|
||||
|
||||
if [[ " $* " == *" --help "* ]] || [[ " $* " == *" -h "* ]]; then
|
||||
bash $WORK_DIR/build_image.sh "$@"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
bash $WORK_DIR/build_image.sh --install-mode openai "$@"
|
||||
|
||||
if [ 0 -ne $? ]; then
|
||||
echo "Error: build base image failed"
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user