Skip to content

Commit 20e7fe6

Browse files
fix(docker): remove unsupported --max-executable-size NODE_OPTIONS
The --max-executable-size option is not supported in Node.js 22+ and was causing the Docker build to fail. Removed this option while keeping other valid memory optimizations.
1 parent 8addf9a commit 20e7fe6

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
4-
ENV NODE_OPTIONS="--max-old-space-size=3072 --max-semi-space-size=256 --max-executable-size=256 --wasm-memory-size-limit=3072 --wasm-memory-pool-size=3072"
3+
# Optimisations mémoire Node.js (options valides uniquement)
4+
ENV NODE_OPTIONS="--max-old-space-size=3072 --max-semi-space-size=256 --wasm-memory-size-limit=3072 --wasm-memory-pool-size=3072"
55

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

0 commit comments

Comments
 (0)