fix(docker): 去掉 # syntax 行(国内加速器 401 Unauthorized)并为 hub 编排加 pull_policy: build(v1.2.18)
- Dockerfile 顶部原来显式写 # syntax=docker/dockerfile:1,会让 BuildKit 额外拉 docker/dockerfile 镜像,在国内加速器(飞牛的 docker.fnnas.com)上被拦成 401,构建直接失败;该行已移除——RUN --mount=type=cache 由内建 BuildKit frontend 已支持,缓存挂载保持不变 - docker-compose.hub.yml 增加 pull_policy: build,跳过日志里那条 fonu Pulling(国内直连 Docker Hub 的超时告警) - 本轮只改 Dockerfile 与 compose,不涉及 Go 代码:安装包未重出,dist 里 1.2.17 的包仍可用
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fonu-web",
|
||||
"private": true,
|
||||
"version": "1.2.17",
|
||||
"version": "1.2.18",
|
||||
"packageManager": "npm@10.9.4",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user