Docker RUN dotnet Build always cached resulting in consecutive fault
Solution 1:
The last copy command should be from build, not from base, you are publishing into the build payer but then creating final from the base layer. Caching isn't the issue.
COPY --from=build /app/publish .