Skip to content

Commit

Permalink
Merge pull request #1613 from appwrite/increase-memory-for-build
Browse files Browse the repository at this point in the history
Increase memory limit
  • Loading branch information
ernstmul authored Jan 8, 2025
2 parents 52fdc28 + a72a5d2 commit 874660c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build Website
env:
NODE_OPTIONS: '--max_old_space_size=8192'
NODE_OPTIONS: '--max_old_space_size=16384'
PUBLIC_APPWRITE_ENDPOINT: ${{ vars.PUBLIC_APPWRITE_ENDPOINT }}
PUBLIC_APPWRITE_DASHBOARD: ${{ vars.PUBLIC_APPWRITE_DASHBOARD }}
PUBLIC_APPWRITE_PROJECT_ID: ${{ vars.PUBLIC_APPWRITE_PROJECT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ FROM base as build

COPY . .
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN NODE_OPTIONS=--max_old_space_size=8192 pnpm run build
RUN NODE_OPTIONS=--max_old_space_size=16384 pnpm run build

FROM base as final

Expand Down

0 comments on commit 874660c

Please sign in to comment.