Open ghkdqhrbals opened 2 years ago
First I make directory and Dockerfile to seperate images
REPOSITORY TAG IMAGE ID CREATED SIZE react-portfolio-website_client latest 378b1d7e6cae 4 minutes ago 555MB react-portfolio-website_nginx latest de363dd4cddd 7 minutes ago 142MB
With npm install --production tags, it is still big size.
REPOSITORY TAG IMAGE ID CREATED SIZE react-portfolio-website_client latest 713823997dd5 41 seconds ago 555MB react-portfolio-website_nginx latest de363dd4cddd 11 minutes ago 142MB
Check below informations handling with big size docker image