Apify and Crawlee Official Forum
b
F
A
J
A
1,148
Apify Platform Forum
Crawlee JavaScript Forum
Crawlee for Python Forum
Sign up for Apify Platform here
Star Crawlee on GitHub
Star Crawlee for Python on GitHub
Powered by
Hall
Apify Platform Forum
0
Join
on Discord
Question: About docker image size
Apify Platform Forum
Question: About docker image size
0
Join
on Discord
!
!!!Joefree!!! π
4 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
M
Marco
4 months ago
Yes, a smaller Docker image's size slightly decreases startup times, but don't expect huge differences.
J
Jerome
4 months ago
55.6 MB, did you manage to shrink chrome that much? Or is this HTTP only?
!
!!!Joefree!!! π
4 months ago
yes, its Python HTTP only
M
MImi
last month
Hello @!!!Joefree!!! π wonder how you did decrease the image size that low ? Also using http only and it is curently 165MB
J
Jerome
last month
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