Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Dockerfile): Add multi-stage build for production deployment
- Added a new stage "deps" to install production dependencies only - Added a new stage "builder" to build the application - Copied necessary files from the "builder" stage to the final image - Exposed port 5000 for the application - Updated CMD command to run the application This commit introduces a multi-stage build process in the Dockerfile, which separates dependency installation and application building. This improves efficiency and reduces the size of the final Docker image.
- Loading branch information