arc53 / arc53/DocsGPT

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

Open
#2,452 1 comment 0 reactions 1 assignee Claimed by @mustafa-sayyed View on GitHub
Dominant language
Python
Stars
18.3k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
29

Description

### 🔖 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?

- [x] I checked and didn't find similar issue

### Are you willing to submit PR?

Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.