When adding Docker support to a C# project, you'll automatically get a Dockerfile with 4 stages: base, build, publish, final. I know what the base and final stages are for, and I get that the build/publish has to happen in a separate stage in order to not have the full SDK in the final image.
But is there any requirement by VS for the build/publish to be in 2 separate stages?
I think the default Dockerfile's build stage is kinda useless, because the publish will build the project again. I want to change this, but I'm not sure if VS will have issues with that.