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.
Click below to sign up and get $100 of credit to try our products over 60 days!