feat: 版本时间+8区、首页随机卡片点击进详情;chore: 优雅关闭DuckDB、start.sh改用docker stop
Build and Deploy / build (push) Successful in 10s
Build and Deploy / deploy (push) Failing after 45s

This commit is contained in:
cheney
2026-09-01 11:40:21 +08:00
parent 64f3f6ea58
commit 381e6a780d
5 changed files with 28 additions and 9 deletions
+3 -2
View File
@@ -16,9 +16,10 @@ if [ ! -f .env ]; then
fi
fi
# 停止并删除旧容器
# 停止并删除旧容器(先优雅停止,让应用关闭 DuckDB 完成 checkpoint)
echo "停止旧容器..."
docker rm -f awesome-index 2>/dev/null || true
docker stop awesome-index 2>/dev/null || true
docker rm awesome-index 2>/dev/null || true
# 用新镜像启动容器
echo "启动 Awesome Index..."