Added error output to dotnet build line #40
+1
-4
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user