🔧 Fix heap allocation error when building locally with docker (#5695)

* fix heap allocation error when building locally with docker

* release notes

* clarifying comment
This commit is contained in:
Michael Clark
2025-09-07 12:32:40 +00:00
committed by GitHub
parent 8e5a88bc55
commit 510dd31de6
2 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ FROM deps AS builder
WORKDIR /app
COPY packages/ ./packages/
# Increase memory limit for the build process to 8GB
ENV NODE_OPTIONS=--max_old_space_size=8192
RUN yarn build:server
# Focus the workspaces in production mode (including @actual-app/web you just built)

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MikesGlitch]
---
Fix local dockerfile build memory allocation