It’s extremely slow to build Docker containers on app platform. My container takes about 2 minutes to build locally, but takes over 30 minutes on app platform. It takes over 10 minutes to install the Ruby bundle and another 5 minutes to install the JS dependencies (from yarn). It’s a bit faster when the layers are cached, but it seems like the cache expires after a day or so, which requires a full rebuild of the docker containers.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

We are aware of slow build performance for some workloads. We have work in-progress to improve build performance and better leverage caching.

Submit an Answer