From 7aa61330051bceb2788fe41d6f38dd6f04427fe2 Mon Sep 17 00:00:00 2001 From: biss Date: Fri, 24 Jul 2026 10:07:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1c4d79..8a5fa27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN npm ci COPY src/Eis.Web/ClientApp/ ./ RUN npm run build -FROM mcr.microsoft.com/dotnet/sdk:10.0-bookworm-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY . . @@ -16,7 +16,7 @@ RUN dotnet restore src/Eis.Web/Eis.Web.csproj \ && dotnet publish src/Eis.Web/Eis.Web.csproj --configuration Release --output /app/web --no-restore \ && dotnet publish src/Eis.Tools/Eis.Tools.csproj --configuration Release --output /app/tools --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:10.0-bookworm-slim AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app RUN apt-get update \