feat: 首次推送到Gitea - 完整项目代码 + 安全加固 + 知识库

This commit is contained in:
ZhuiGuangAI Dev
2026-10-02 18:52:49 +08:00
parent b44601bb66
commit 8205ae709c
1185 changed files with 49841 additions and 12802 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# 追光AI 增量部署:重建镜像(仅 2 个首页文件变更)
set -e
cd /home/ubuntu/zhuiguang-ai
export DBURL=$(grep -E '^DATABASE_URL=' env/.env.production | tail -1 | cut -d= -f2- | tr -d '"')
echo "BUILD_DBURL=${DBURL:0:30}..."
docker build -t zhuiguang-ai:2.1.3 --build-arg DATABASE_URL="$DBURL" . > build.log 2>&1
echo "BUILD_EXIT=$?"
tail -8 build.log