From 204e968c8dbf2ce0593c7a099f0b8a14de36530b Mon Sep 17 00:00:00 2001 From: hualin Date: Mon, 9 Dec 2024 11:28:28 +0800 Subject: [PATCH] Update Dockerfile --- src/CleanAspire.ClientApp/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CleanAspire.ClientApp/Dockerfile b/src/CleanAspire.ClientApp/Dockerfile index f021d35..7bed673 100644 --- a/src/CleanAspire.ClientApp/Dockerfile +++ b/src/CleanAspire.ClientApp/Dockerfile @@ -11,7 +11,7 @@ RUN dotnet workload install wasm-tools --skip-manifest-update # Copy the entire source code and build the application in Release mode COPY . . -RUN dotnet publish -c Release -o /app/publish +RUN dotnet publish -c Release -o /app/publish /p:RunAOTCompilation=true # Stage 2: Serve the Blazor Client Application using Nginx FROM nginx:alpine AS final