- Changed the installation command to include all dependencies necessary for the build process.
- Updated comments for clarity regarding the installation of production dependencies and rebuilding critical native modules.
- Updated the Dockerfile to install only production dependencies, skipping unnecessary scripts to streamline the build process.
- Removed the copying of node_modules from the builder stage to reduce image size and improve efficiency.
- Ensured necessary postinstall scripts are executed for essential packages like Prisma and bcrypt.
- Simplified the installation of production dependencies by copying node_modules from the builder stage.
- Enhanced the Dockerfile by removing unnecessary environment variable settings and comments for clarity.
- Ensured all necessary built applications and dependencies are included in the final image.
- Deleted .env.dev.example and .env.production.example files to streamline configuration management.
- Updated Dockerfile to install production dependencies recursively, ensuring all necessary packages are included during the build process.