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!

5 Replies
Yes, a smaller Docker image's size slightly decreases startup times, but don't expect huge differences.
55.6 MB, did you manage to shrink chrome that much? Or is this HTTP only?
yes, its Python HTTP only
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
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: