File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ ARG SANDBOX_HOST_NAME
2121ARG SANDBOX_PORT
2222ARG FIREBASE_CONFIG
2323ARG DOCS_BASE_URL
24+ ARG NODE_OPTIONS
2425
2526RUN if [ "$DOCS_BASE_URL" == "null" ]; \
2627 then npm run build:app; \
27- else NODE_OPTIONS= "--max-old-space-size=4096" npm run build; \
28+ else npm run build; \
2829 fi
2930
3031FROM node:24.1.0-alpine3.21 AS server
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
1212 - SANDBOX_PORT=${SANDBOX_PORT:-8090}
1313 - FIREBASE_CONFIG=${FIREBASE_CONFIG:-}
1414 - DOCS_BASE_URL=${DOCS_BASE_URL:-null}
15+ - NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=6144"}
1516 restart : unless-stopped
1617 environment :
1718 - SELF_HOSTED=true
@@ -26,6 +27,7 @@ services:
2627 - LOG_URL=${LOG_URL:-null}
2728 - VALKEY_HOST=valkey
2829 - VALKEY_PORT=6379
30+ - NODE_OPTIONS=${NODE_OPTIONS:-"--max-old-space-size=6144"}
2931 volumes :
3032 - ./assets:/srv/build/assets
3133 depends_on :
You can’t perform that action at this time.
0 commit comments