Files
server/quick-build.sh
2025-11-01 16:07:12 +08:00

23 lines
641 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# 快速构建脚本
echo "🚀 快速构建数字档案系统..."
echo "跳过Tesseract安装预计3-5分钟完成"
echo
# 使用 archive-manager.sh 的快速构建模式
./archive-manager.sh build -f
if [ $? -eq 0 ]; then
echo
echo "✅ 快速构建完成!"
echo "镜像标签: digital-archive:fast"
echo
echo "📋 可用命令:"
echo " ./archive-manager.sh deploy -f # 快速部署"
echo " docker run -p 9081:9081 digital-archive:fast # 直接运行"
else
echo
echo "❌ 快速构建失败"
echo "请检查错误信息或使用完整构建: ./archive-manager.sh build"
fi