Skip to content

Commit 3d1395c

Browse files
fix: restore --disable-wasm-trap-handler flag for memory range compatibility
1 parent ceba932 commit 3d1395c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dapp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci --production
55
COPY ./src .
6-
ENTRYPOINT [ "node", "/app/app.js" ]
6+
ENTRYPOINT [ "node", "--disable-wasm-trap-handler", "/app/app.js" ]

deployment-dapp/src/singleFunction/deployApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const deployApp = async ({
2727
const mrenclave = {
2828
framework: 'SCONE' as any, // workaround framework not auto capitalized
2929
version: 'v5.9',
30-
entrypoint: 'node /app/app.js',
30+
entrypoint: 'node --disable-wasm-trap-handler /app/app.js',
3131
heapSize: 1073741824,
3232
fingerprint,
3333
};

0 commit comments

Comments
 (0)