Seggregate app dependencies and project dll in docker build for an aspnet project

33 Views Asked by At

On the docker image build samolamplee provided by Microsoft , their is a copy of all build directory in the final image. In case of a large service external dependencies size start to grew and are not so frequently updated. I am wondering if its possible to copy only thé external downloaded dependencies (liké system.text.json as exemple) and copy project generated dependency (if i have Split my solution in multiple csproj) in a second Time to benefits of docker layering système and how to do this ?

0

There are 0 best solutions below