Merge pull request 'Removed stream redirection' (#55) from garages3 into main

Reviewed-on: #55
This commit was merged in pull request #55.
This commit is contained in:
2026-09-13 18:15:33 +02:00
+4 -4
View File
@@ -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