Built and deployed successfully at https://dashboard.heroku.com/apps/multi-stages-staging
The updated dockerfile
can be found here.
Usually, it takes around ~ 3 mins to build the docker image.
<aside> 💡 It was reduced to 50 seconds to build and push the Docker image on Github Action.
</aside>
red
and the orange
rectangles, they keep the original resources and can be reduced after building the gems and assets.green
steps (only).800MB
to 281MB
by:
/tmp/docker
after installing and copying the bundle
and assets
to the Final Image.