From af1da5c63dfdcb3be1ca11406c14e65a5cfb70b4 Mon Sep 17 00:00:00 2001 From: shum Date: Mon, 12 Oct 2026 13:58:38 +0000 Subject: [PATCH] calculator bot: build the add-on in the image --- scripts/calculator-bot/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/calculator-bot/Dockerfile b/scripts/calculator-bot/Dockerfile index fb25c0f7df..4b0728484c 100644 --- a/scripts/calculator-bot/Dockerfile +++ b/scripts/calculator-bot/Dockerfile @@ -77,10 +77,10 @@ RUN cd packages/simplex-chat-client/types/typescript && \ npx tsc COPY packages/simplex-chat-nodejs packages/simplex-chat-nodejs -# npm install builds the add-on from binding.gyp. RUN cd packages/simplex-chat-nodejs && \ npm install --no-audit --no-fund && \ npm install --no-save --no-audit --no-fund ../simplex-chat-client/types/typescript && \ + npx node-gyp rebuild && \ npx tsc && \ cp src/simplex.* dist/