[PR #77] [CLOSED] Support Next.js standalone builds. #736

Closed
opened 2026-02-26 18:48:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/77
Author: @Mythie
Created: 4/15/2023
Status: Closed

Base: mainHead: feat/standalone-build


📝 Commits (2)

  • ee8cc20 feat: support standalone builds for slim docker images
  • 574c270 Merge branch 'main' into feat/standalone-build

📊 Changes

4 files changed (+76 additions, -29 deletions)

View changed files

📝 apps/web/next.config.js (+18 -16)
📝 docker/Dockerfile (+12 -6)
docker/compose-local-dev.yml (+40 -0)
📝 docker/compose.yml (+6 -7)

📄 Description

Letting this hang for until we deal with general docker support.

Supporting standalone builds lets us shrink our image size dramatically much like #74 making for leaner and faster image in terms of startup time.

One thing to note here is that our usage of NEXT_PUBLIC_WEBAPP_URL means that each individual would need to build the image before they can deploy it to their domain.

image

🔄 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/documenso/documenso/pull/77 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 4/15/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/standalone-build` --- ### 📝 Commits (2) - [`ee8cc20`](https://github.com/documenso/documenso/commit/ee8cc2033ac939cd7f39511d5a8cfcea211a7b4d) feat: support standalone builds for slim docker images - [`574c270`](https://github.com/documenso/documenso/commit/574c2702f3d346953422d29c9adea8f0767129e1) Merge branch 'main' into feat/standalone-build ### 📊 Changes **4 files changed** (+76 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/next.config.js` (+18 -16) 📝 `docker/Dockerfile` (+12 -6) ➕ `docker/compose-local-dev.yml` (+40 -0) 📝 `docker/compose.yml` (+6 -7) </details> ### 📄 Description **Letting this hang for until we deal with general docker support.** Supporting standalone builds lets us shrink our image size dramatically much like #74 making for leaner and faster image in terms of startup time. One thing to note here is that our usage of `NEXT_PUBLIC_WEBAPP_URL` means that each individual would need to build the image before they can deploy it to their domain. <img width="682" alt="image" src="https://user-images.githubusercontent.com/13398220/232179148-bb9b8189-d79a-4d06-a17a-721cbe963791.png"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:42 +03: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
starred/documenso#736
No description provided.