fix: 修复Docker构建和路径解析问题

- 在Dockerfile中使用npm中国镜像加速依赖安装
- 修正后端健康检查端点路径
- 修复Docker环境中图片路径解析问题
- 修正前端API地址默认值
This commit is contained in:
congsh
2026-02-27 22:42:53 +08:00
parent 9a301cc434
commit ecf3999d2a
7 changed files with 19 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ services:
- rapidocr
- paddleocr
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:13057/api/health"]
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:13057/health"]
interval: 30s
timeout: 10s
retries: 3