Fix - optimized UI dockerfile and removed unnecessary index.html file & Reduce docker image size from 1.4 GB to 176MB
Changes :
-> Updated the UI docker file. Earlier UI docker image used to consume 1.42 GB, now optimised to consume 176 MB. -> Used Multi-stage build ( following industry standards) to optimise space and performance. -> Added necessary comments for easy understanding. -> Removed unnecessary index.html file from static folder ( which will cause white blank screen, if app is build & preview ed rather than just running dev ). -> Added nodejs adapter in svelete.config.js to accommodate smooth build process & deployment of UI.
Docker Image size reduction :
All the above mentioned changes are tested thoroughly & it is working smoothly as expected !
Thank you !
are check with the latest commits is it working or not if the docker is working then merge right away
I have re-tested with latest code changes and it works smoothly as expected. Can you guys review & merge it. Thanks!
Mentioning #317 cause both are docker related. can you guys check your changes and tell me it's working with every scenario. Front-end backend no issues.