From bd00e5ddaf7208ed20b5a1a5f418c8f33d32d214 Mon Sep 17 00:00:00 2001 From: Andres Santana Date: Thu, 1 Oct 2026 12:38:28 -0400 Subject: [PATCH] build: use Debian-based Node image to avoid musl native dependency issues --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ca114a1..f817aa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ # ---- Build stage ---- -FROM node:22-alpine AS build +# Use Debian-based Node to avoid musl/native optional dependency issues +# (rollup optional native binaries may be missing for musl/alpine) +FROM node:22-bullseye-slim AS build WORKDIR /app # Install dependencies first so Docker can cache this layer