From 5262e55c213fc0f8a56077f8174e949cb0ffd03a Mon Sep 17 00:00:00 2001 From: hualin Date: Mon, 9 Dec 2024 12:04:13 +0800 Subject: [PATCH] fixing docker build --- src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj | 1 + src/CleanAspire.ClientApp/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj b/src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj index 9c92788..344456b 100644 --- a/src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj +++ b/src/CleanAspire.ClientApp/CleanAspire.ClientApp.csproj @@ -10,6 +10,7 @@ true + true diff --git a/src/CleanAspire.ClientApp/Dockerfile b/src/CleanAspire.ClientApp/Dockerfile index 7bed673..ec394fa 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 /p:RunAOTCompilation=true +RUN dotnet publish -c Release -o /app/publish -v diag # Stage 2: Serve the Blazor Client Application using Nginx FROM nginx:alpine AS final