Added error output to dotnet build line #40

Merged
khwezi merged 1 commits from garages3 into main 2026-09-12 11:54:57 +02:00
+1 -4
View File
@@ -14,14 +14,11 @@ WORKDIR /app_source
COPY . .
WORKDIR "/app_source"
RUN dotnet build "PostFundManagement.slnx" -c Release
RUN dotnet build "PostFundManagement.slnx" -c Release 1>&2
WORKDIR "/app_source/PostFundManagement.Api"
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
FROM build AS publish
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .