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