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•15mo ago
Yes, a smaller Docker image's size slightly decreases startup times, but don't expect huge differences.
flat-fuchsia
flat-fuchsia•15mo ago
55.6 MB, did you manage to shrink chrome that much? Or is this HTTP only?
!!!Joefree!!! 👑
!!!Joefree!!! 👑OP•15mo ago
yes, its Python HTTP only
ugly-tan
ugly-tan•13mo ago
Hello @!!!Joefree!!! 👑 wonder how you did decrease the image size that low ? Also using http only and it is curently 165MB
flat-fuchsia
flat-fuchsia•12mo 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?