ota 升级地址
Docker Build and Push / build-image (push) Successful in 5m9s

This commit is contained in:
cheney
2026-08-07 18:11:43 +08:00
parent add3ff8831
commit 60628775ac
2 changed files with 30 additions and 0 deletions
+3
View File
@@ -55,6 +55,9 @@ COPY --from=builder /app/public ./public
# 本地构建时只有占位文件 (ota-package/README.md), server 找不到 latest.json 则 OTA 返回"无更新"
COPY ota-package ./ota-package
ENV OTA_PACKAGE_DIR=/app/ota-package
# OTA bundle 下载用的绝对 base (manifest.url 必须是绝对 URL, 插件不拼 base, 相对路径会导致下载 0% 失败)
# 生产为 http 明文 (无 https), 客户端 tauri.conf.json 的 hotswap.require_https 已设为 false 放行 http
ENV OTA_PUBLIC_BASE=http://bh.vps.honor3.com:3001
# 健康检查
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \