DEV Community

Discussion on: Setting Up Docker for Ruby on Rails 7

Collapse
 
erick_tmr profile image
Erick Takeshi

what is the size of the image generated by this Dockerfile?

Isn’t worth it to use a multi-stage build for a lower image size?

Collapse
 
jetthoughts_61 profile image
JT Dev

The size of image generated by Dockefile is 1.24GB

Image description

Adding multi stage reduced the size to 998MB

Image description

This is a great addition to the article. Thank you <3