Dimitri Falco
03/04/2025, 3:57 PMbentoml.depends() , I recently made a multi-service bentoml with a bentofile.yaml that has the entry service (the one that references the other service as a dependency). However when I containerize it using bentoml containerize after building, it seems there are a lot of layers that are unused? In fact when I shift both services to be housed into a single service, those unused layers disappear (as a multi-service the total size of the docker image is twice the unique size, while as a single service the total size and unique size are about equal). I was wondering if there's anything I could get more insight into how the dependency service is built automatically and if that could contribute to some of the unused layers in the docker image?
Thanks for any insight on this!Jian Shen Yap
03/06/2025, 11:10 AMFrost Ming
03/06/2025, 11:21 AMFrost Ming
03/06/2025, 11:22 AM<bento_path>/env/dockerDimitri Falco
03/06/2025, 7:36 PM