feat: 版本时间+8区、首页随机卡片点击进详情;chore: 优雅关闭DuckDB、start.sh改用docker stop
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user