Skip to content

Commit 847fdf3

Browse files
fix(docker): simplify NODE_OPTIONS to only use supported --max-old-space-size
- Remove all unsupported WebAssembly options from NODE_OPTIONS - Keep only --max-old-space-size=3072 which is fully supported - Docker build now works successfully - Memory optimization still achieved through heap size limit
1 parent e12740a commit 847fdf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dapp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:22.18.0-alpine3.22
22

3-
# Optimisations mémoire Node.js (options valides uniquement)
4-
ENV NODE_OPTIONS="--max-old-space-size=3072 --wasm-max-mem-pages=49152 --wasm-max-committed-code-mb=3072"
3+
# Optimisation mémoire Node.js (option valide uniquement)
4+
ENV NODE_OPTIONS="--max-old-space-size=3072"
55

66
WORKDIR /app
77
COPY package*.json ./

0 commit comments

Comments
 (0)