filmov
tv
Reduce the size of the frontend docker image using nginx
![preview_player](https://i.ytimg.com/vi/FX1IymwLk1A/maxresdefault.jpg)
Показать описание
Lets see how to reduce the image size using different methods,
Here Iam using 4 dockerfiles each executing the react frontend application
1. Normal Dockerfile to run a react app (Using single stage build)
2. Dockerfile with multistage build
3. Dockerfile using multistage build and alpine version of base image
4. Using Nginx
Here Iam using 4 dockerfiles each executing the react frontend application
1. Normal Dockerfile to run a react app (Using single stage build)
2. Dockerfile with multistage build
3. Dockerfile using multistage build and alpine version of base image
4. Using Nginx