Open vivekrawat21 opened 2 hours ago
Welcome to the JSON Schema Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look at our contributors guide if you plan on opening a pull request. For more details, check out the README.md file.
Is your feature request related to a problem? Please describe
The current Dockerfile is functional but can be optimized further by implementing a multi-stage build. Multi-stage builds help reduce the final image size by only including necessary files and dependencies in the final image, which improves security and efficiency, especially for production deployments.
Describe the solution you'd like
Refactor the existing Dockerfile to use a multi-stage build that separates the build environment from the production environment. This will allow us to: Compile/build the project in a Node.js environment with all necessary dependencies. Copy only the compiled code and required files into a smaller, cleaner image for production use, thus reducing the final image size.
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes