fix(ci): 前端构建镜像源改回 docker.io
部署到群晖 / deploy (push) Failing after 41s

阿里云杭州源 TLS handshake timeout 导致首次 CI 失败,
换回官方 node:18-alpine;mcr.microsoft.com 能通常 docker.io 也能。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuming
2026-04-24 22:05:06 +08:00
parent c9ee05afde
commit 428fb8aa48
+2 -2
View File
@@ -1,7 +1,7 @@
# 多阶段构建 Dockerfile # 多阶段构建 Dockerfile
# 第一阶段:构建前端 # 第一阶段:构建前端
# 使用国内镜像源,避免 Docker Hub 拉取失败(可改为 node:18-alpine 若已配置 Docker 镜像加速) # 使用官方 Docker Hub(mcr 能访问的环境一般也能访问 docker.io)
FROM registry.cn-hangzhou.aliyuncs.com/library/node:18-alpine AS frontend-builder FROM node:18-alpine AS frontend-builder
WORKDIR /app/frontend WORKDIR /app/frontend