Open am-nimrah opened 10 months ago
Thank you for sending a PR! 🌟
We use an internal file representation that's transparent to the user which helps us to manage various filetypes. This is different from actual/accurate file names, which are visible in the UI.
Can you please keep the filename same, i.e. dockerfile
instead of Dockerfile
, and update the PR to reflect these changes?
Thank you for sending a PR! 🌟
We use an internal file representation that's transparent to the user which helps us to manage various filetypes. This is different from actual/accurate file names, which are visible in the UI.
Can you please keep the filename same, i.e.
dockerfile
instead ofDockerfile
, and update the PR to reflect these changes?
Sure
Closes #25.
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.