From c441e060b917a5d1bd14788b565cfe0ffea963ce Mon Sep 17 00:00:00 2001 From: yuming Date: Fri, 24 Apr 2026 23:45:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20.NET=20=E5=9F=BA=E7=A1=80=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E6=94=B9=E5=9B=9E=20mcr.microsoft.com=EF=BC=8C?= =?UTF-8?q?=E4=BB=A3=E7=90=86=E5=B7=B2=E9=80=9A=E4=B8=94=E5=AE=BF=E4=B8=BB?= =?UTF-8?q?=E5=B7=B2=E9=A2=84=E6=8B=89=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 77eb6c2..7d17063 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -25,7 +25,7 @@ COPY app/ ./ RUN pnpm build || npm run build # 第二阶段:构建后端 -FROM registry.cn-hangzhou.aliyuncs.com/dotnet/sdk:6.0 AS backend-builder +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS backend-builder WORKDIR /src @@ -46,7 +46,7 @@ COPY --from=frontend-builder /app/frontend/dist ./app/dist RUN dotnet publish dy.net.csproj -c Release -o /app/publish # 第三阶段:运行镜像 -FROM registry.cn-hangzhou.aliyuncs.com/dotnet/aspnet:6.0 AS final +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS final WORKDIR /app