Sign up for Apify Platform here
Star Crawlee on GitHub
Star Crawlee for Python on GitHub
Apify and Crawlee Official Forum
New post
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
Question: About docker image size
Question: About docker image size
Inactive
0
Follow
!
!!!Joefree!!! π
6 months ago
Β·
Hello Team! Does reducing Docker size will reduce loading time and make the Actor load faster ... or ... is it the same ?
Thank You!
Attachment
1
M
J
!
5 comments
Share
Open in Discord
M
Marco
6 months ago
Yes, a smaller Docker image's size slightly decreases startup times, but don't expect huge differences.
J
Jerome
6 months ago
55.6 MB, did you manage to shrink chrome that much? Or is this HTTP only?
!
!!!Joefree!!! π
6 months ago
yes, its Python HTTP only
M
MImi
4 months ago
Hello @!!!Joefree!!! π wonder how you did decrease the image size that low ? Also using http only and it is curently 165MB
J
Jerome
4 months 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:
Attachment
Add a reply
Sign up and join the conversation on Discord
Join on Discord