feat: 首次推送到Gitea - 完整项目代码 + 安全加固 + 知识库
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user