From 428fb8aa486f8c35d66446ef6057fcd2fc0cf41c Mon Sep 17 00:00:00 2001 From: yuming Date: Fri, 24 Apr 2026 22:05:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=89=8D=E7=AB=AF=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=E6=94=B9=E5=9B=9E=20docker.io?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 阿里云杭州源 TLS handshake timeout 导致首次 CI 失败, 换回官方 node:18-alpine;mcr.microsoft.com 能通常 docker.io 也能。 Co-Authored-By: Claude Opus 4.7 (1M context) --- Dockerfile.prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index df9202e..7d17063 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,7 +1,7 @@ # 多阶段构建 Dockerfile # 第一阶段:构建前端 -# 使用国内镜像源,避免 Docker Hub 拉取失败(可改为 node:18-alpine 若已配置 Docker 镜像加速) -FROM registry.cn-hangzhou.aliyuncs.com/library/node:18-alpine AS frontend-builder +# 使用官方 Docker Hub(mcr 能访问的环境一般也能访问 docker.io) +FROM node:18-alpine AS frontend-builder WORKDIR /app/frontend