While building python docker images with mach-nix and dockerTools, I observed while analyzing the final image with
dive, that all __pycache__ folders are present in the nix-store together with there
This essentially ± doubles the image size. Is this something to be tackled by how python packages are build in nix or on the dockerTools level?
Or anywhere else altogether? (Where?)