feat: supports docker compose deployment

This commit is contained in:
FangYin Cheng
2023-07-26 20:07:25 +08:00
parent 700d9bf3e9
commit 671cddf4e7
16 changed files with 531 additions and 45 deletions

9
docker/allinone/build_image.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
SCRIPT_LOCATION=$0
cd "$(dirname "$SCRIPT_LOCATION")"
WORK_DIR=$(pwd)
IMAGE_NAME="db-gpt-allinone"
docker build -f Dockerfile -t $IMAGE_NAME $WORK_DIR/../../