From 5dba8d3dd49a20727f9794fb632da04d7dd2545d Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 13 Sep 2026 18:15:16 +0200 Subject: [PATCH] Removed stream redirection --- PostFundManagement.Api/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PostFundManagement.Api/Dockerfile b/PostFundManagement.Api/Dockerfile index 5771a8a..59073c5 100644 --- a/PostFundManagement.Api/Dockerfile +++ b/PostFundManagement.Api/Dockerfile @@ -16,18 +16,18 @@ COPY ["PostFundManagement.Domain/PostFundManagement.Domain.csproj", "PostFundMan COPY ["PostFundManagement.Infrastructure/PostFundManagement.Infrastructure.csproj", "PostFundManagement.Infrastructure/"] # Restore dependencies -RUN dotnet restore "PostFundManagement.Api/PostFundManagement.Api.csproj" -v n 2>&1 +RUN dotnet restore "PostFundManagement.Api/PostFundManagement.Api.csproj" # Copy full source tree COPY . . -# Build the API project from /src root context -RUN dotnet build "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/build -v n 2>&1 +# Build the API project +RUN dotnet build "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/build # Publish stage FROM build AS publish ARG BUILD_CONFIGURATION=Release -RUN dotnet publish "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false -v n 2>&1 +RUN dotnet publish "PostFundManagement.Api/PostFundManagement.Api.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false # Final runtime stage FROM base AS final