Question: About docker image size

Hello Team! Does reducing Docker size will reduce loading time and make the Actor load faster ... or ... is it the same ? Thank You!
No description
5 Replies
Marco
Marco•2y ago
Yes, a smaller Docker image's size slightly decreases startup times, but don't expect huge differences.
Jerome
Jerome•2y ago
55.6 MB, did you manage to shrink chrome that much? Or is this HTTP only?
!!!Joefree!!! 👑
yes, its Python HTTP only
stormy-gold
stormy-gold•15mo ago
Hello @!!!Joefree!!! 👑 wonder how you did decrease the image size that low ? Also using http only and it is curently 165MB
Jerome
Jerome•15mo ago
Try using a smaller base image, copy as little as possible, using multi-stage builds. I've shrunk the image by switching to rust and using FROM scratch for base image :rustcrab:
No description

Did you find this page helpful?