cloudup.dev
cloudup.dev copied to clipboard
Optimize and Clean Up Dockerfile for Node.js Application
The Dockerfile has been streamlined by removing unnecessary comments and improving readability. The ARG NODE_VERSION="14" sets a default Node.js version, and unnecessary comments and placeholders were eliminated for brevity. The --production and --no-optional flags were added to the npm install command to exclude dev dependencies, reducing the image size. Exposed port 3000 was set as a default, and unnecessary COPY statement was removed. Overall, the Dockerfile is now more concise while maintaining its functionality
I've linked this issue to your PR. This will be automatically closed once your PR is merged.
Thank you! 🌟