Apify and Crawlee Official Forum

Updated 4 months ago

Improving Actor start-up time #DockerImageSize

Hello πŸ‘‹ there is a few documentation on how to improve the actor startup time one solution is described here https://docs.apify.com/platform/actors/development/performance#:~:text=Use%20standardized%20images%20to%20accelerate,Dockerfile%20need%20to%20be%20pulled. "Use standardized images to accelerate Actor startup times
Using one of Apify's standardized images, can accelerate the Actor startup time. These images are cached on each worker machine, so only the layers you added in your Actor's Dockerfile need to be pulled." . But no concrete example on how to use https://github.com/apify/apify-actor-docker in python actor. Any help or contribution is welcome thanks.
P
1 comment
Hi @MImi ,

We highly suggest you to use apify-cli for creating initial project structure. Or maybe take a look at https://github.com/apify/actor-templates/tree/master/templates select python based project and check its .actor/Dockerfile
Add a reply
Sign up and join the conversation on Discord