Skip to content

🚀 Feature: Dockerfile is too heavy in frontend, Reduce the image size #2452

@mustafa-sayyed

Description

@mustafa-sayyed

🔖 Feature description

The current Dockerfile of the frontend is unoptimized
It takes around 1.11 GB now

I locally optimized it and reduced its size by 850MB
It now only takes 267 MB

Image

🎤 Why is this feature needed ?

Reducing the size of the image helps in both development and deployment
It will reduce the dev setup time

✌️ How do you aim to achieve this?

By using multistage builds and removing unnecessary things from the Dockerfile

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions