Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ---------------------------------------------------------------------------
# Stage 1: build the frontend (Vite -> static files in frontend/dist)
# ---------------------------------------------------------------------------
FROM node:20-slim AS frontend-build
FROM node:26-slim AS frontend-build
WORKDIR /app/frontend

# Vite bakes VITE_* env vars into the static bundle at build time. We
Expand Down Expand Up @@ -73,7 +73,7 @@ RUN npm run build
# ---------------------------------------------------------------------------
# Stage 2: install the baileys sidecar's npm dependencies
# ---------------------------------------------------------------------------
FROM node:20-slim AS sidecar-build
FROM node:26-slim AS sidecar-build

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: The sidecar dependencies are now built with Node 26 but executed under Node 20 in runtime, which can break at runtime due to ABI/version mismatch.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At Dockerfile, line 76:

<comment>The sidecar dependencies are now built with Node 26 but executed under Node 20 in runtime, which can break at runtime due to ABI/version mismatch.</comment>

<file context>
@@ -73,7 +73,7 @@ RUN npm run build
 # Stage 2: install the baileys sidecar's npm dependencies
 # ---------------------------------------------------------------------------
-FROM node:20-slim AS sidecar-build
+FROM node:26-slim AS sidecar-build
 WORKDIR /app/sidecar
 
</file context>

WORKDIR /app/sidecar

# baileys' transitive deps include a git-source package (libsignal-node).
Expand Down
Loading