The present Dockerfile implements a single stage build which is inefficient and using Multi-Stage Build can definitely increase performance by reducing image size significantly. This is done by removing the compiler, build artifacts and other unnecessary components from the final image and only leaving behind the executable.
Fix Bugs
Not applicable
Write Documentation
Comments can be provided in the file itself to understand better
Describe the bug
The present Dockerfile implements a single stage build which is inefficient and using Multi-Stage Build can definitely increase performance by reducing image size significantly. This is done by removing the compiler, build artifacts and other unnecessary components from the final image and only leaving behind the executable.
Fix Bugs
Not applicable
Write Documentation
Comments can be provided in the file itself to understand better
Screenshots
None
Additional context
Please do assign me this issue under gssoc'24