Closed PeterDaveHello closed 2 months ago
Implement best practices for package management to minimize unnecessary data in Docker image. Remove APT cache after installation and prevent pip from creating cache files. These changes result in a smaller and more efficient Docker image.
Thanks, got a nice 30MB reduction in image size!
Implement best practices for package management to minimize unnecessary data in Docker image. Remove APT cache after installation and prevent pip from creating cache files. These changes result in a smaller and more efficient Docker image.