[PR #345] [MERGED] Reduce docker image size by using docker multi-stage build #4083

Closed
opened 2026-03-23 21:36:13 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/345
Author: @PabloCastellano
Created: 2/17/2022
Status: Merged
Merged: 2/21/2022
Merged by: @appflowy

Base: mainHead: docker


📝 Commits (1)

  • ca08514 chore: use docker multi-stage builds

📊 Changes

2 files changed (+24 additions, -2 deletions)

View changed files

📝 frontend/scripts/docker-buildfiles/Dockerfile (+23 -2)
📝 frontend/scripts/docker-buildfiles/docker-compose.yml (+1 -0)

📄 Description

Previous image was 7.69GB which is somewhat heavy. Now the resulting image is 1.20GB thanks to multi-stage builds.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/345 **Author:** [@PabloCastellano](https://github.com/PabloCastellano) **Created:** 2/17/2022 **Status:** ✅ Merged **Merged:** 2/21/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `docker` --- ### 📝 Commits (1) - [`ca08514`](https://github.com/AppFlowy-IO/AppFlowy/commit/ca0851418e7136f9f7abfda3909001e147b1739f) chore: use docker multi-stage builds ### 📊 Changes **2 files changed** (+24 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/scripts/docker-buildfiles/Dockerfile` (+23 -2) 📝 `frontend/scripts/docker-buildfiles/docker-compose.yml` (+1 -0) </details> ### 📄 Description Previous image was 7.69GB which is somewhat heavy. Now the resulting image is 1.20GB thanks to multi-stage builds. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4083
No description provided.