Skip to content

build: add ARG NODE_OPTIONS to dockerfile for memory allocation - #340

Open
Gatuflow wants to merge 1 commit into
evangauer:mainfrom
Gatuflow:docker/dockerfile-ARG-addition
Open

Gatuflow wants to merge 1 commit into
evangauer:mainfrom
Gatuflow:docker/dockerfile-ARG-addition

Conversation

@Gatuflow

Copy link
Copy Markdown

Summary

This pull request is proposed as a way to facilitate the building process of the docker image. On some devices with lower resources, such as the laptop this is sent from, the default Node.js memory limit returns a FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory. When trying to pass the build command with an argument NODE_OPTIONS to increase that limit, it gets swiftly ignored.

Type of Change

  • Bug fix
  • New feature
  • Refactoring / code quality
  • Documentation
  • Other (describe): Build / infrastructure configuration

Target and Risk

  • Feature/fix PR into development
  • Release promotion from development into staging
  • Production promotion from staging into main
  • Changes auth, billing, migrations, tenant isolation, deployment, or secrets

Risk and blast radius:

Rollback or recovery plan:

Testing

  • pnpm type-check passes
  • pnpm build succeeds
  • Tested manually in a local dev environment
  • Added/updated E2E tests (if applicable)
  • Preview or staging smoke test completed (for promotions)

Screenshots

N/A (No UI impacts)

Checklist

  • Code follows the existing style (TypeScript, Tailwind, tRPC patterns)
  • No hardcoded secrets or credentials
  • Database changes include schema updates in packages/db/schema/
  • Database changes use backward-compatible expand/contract sequencing
  • Existing migration SQL and snapshots were not edited
  • New API endpoints include Zod validation and role-based access checks
  • Deployment, workflow, auth, billing, and migration changes have an explicit owner review

@Gatuflow
Gatuflow requested a review from evangauer as a code owner September 23, 2026 20:26
@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the evangauer's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant