Here I will show you the example for creating least possible docker images with the help of Docker Multi-Stage build feature.
Below is a sample for Angular 6 application, which creates production build (docker image) from source-code
Below is a sample for Angular 6 application, which creates production build (docker image) from source-code