Added more verbosity to dotnet build

This commit is contained in:
2026-09-14 09:35:03 +02:00
parent bad91e8090
commit 1771d74b43
+1 -1
View File
@@ -22,7 +22,7 @@ RUN dotnet restore "PostFundManagement.Api/PostFundManagement.Api.csproj"
COPY . .
# Force build output to stderr (1>&2) so the deployment platform captures compilation errors
RUN dotnet build "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/build 1>&2
RUN dotnet build --verbosity diagnostic "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/build 1>&2
# Publish stage
FROM build AS publish