Merge pull request 'Added error output to dotnet build line' (#40) from garages3 into main
Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
+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