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