Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement Dockerfile and Common Code #706

Closed
wants to merge 3 commits into from
Closed

Improvement Dockerfile and Common Code #706

wants to merge 3 commits into from

Conversation

gvatsal60
Copy link

Description

  1. This pull request updates the user information (i.e., username, first_name, last_name, email etc.) handling in the codebase. Previously, the values was hardcoded. Now, the values are dynamically generated using a template literal, incorporating the users.

  2. This pull request proposes modifications to the Dockerfile to enhance its efficiency and maintainability. Below are the key changes:

    2.1. Optimized COPY Command:
    Reorganized the COPY command to prioritize copying package.json and package-lock.json files before installing dependencies. This optimizes Docker's layer caching mechanism, reducing build times for subsequent builds.

    2.2. Consolidated RUN Commands:
    Combined multiple RUN commands into a single instruction to minimize the number of layers in the Docker image. This improves build performance and streamlines the build process.

Made minor adjustments to the Dockerfile structure for consistency and adherence to best practices.

No functional changes were made, and the code remains stable.
Please review and merge this update as appropriate.

Thank you.

Copy link

vercel bot commented Jun 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-folio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 9:36am

@gvatsal60 gvatsal60 closed this by deleting the head repository Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant