Added error output to dotnet build line #40
+1
-4
@@ -14,14 +14,11 @@ WORKDIR /app_source
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
WORKDIR "/app_source"
|
WORKDIR "/app_source"
|
||||||
RUN dotnet build "PostFundManagement.slnx" -c Release
|
RUN dotnet build "PostFundManagement.slnx" -c Release 1>&2
|
||||||
|
|
||||||
WORKDIR "/app_source/PostFundManagement.Api"
|
WORKDIR "/app_source/PostFundManagement.Api"
|
||||||
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
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
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
|
|||||||
Reference in New Issue
Block a user