himeshparashar / Social-Morph

https://socialmorph-himeshparashars-projects.vercel.app
13 stars 36 forks source link

Optimize Dockerfile with Multi-Stage Build #147

Closed XIVASSS closed 2 weeks ago

XIVASSS commented 3 weeks ago

πŸ“‹ Description

This PR optimizes the Dockerfile by implementing a multi-stage build. The main purpose of these changes is to reduce the image size by separating the build and runtime stages, ensuring only production dependencies are included. This enhances both the performance and security of the final image.

πŸ”¨ Changes Made

βœ… Checklist

Before submitting the PR, please make sure you have completed the following:

🏷️ Types of Changes

What type of changes does your code introduce? (Check all that apply)

🀝 Related Issues

How should this be tested?

To verify the changes, run the following tests:

vercel[bot] commented 3 weeks ago

@XIVASSS is attempting to deploy a commit to the himeshparashar's projects Team on Vercel.

A member of the Team first needs to authorize it.