build: use Debian-based Node image to avoid musl native dependency issues
This commit is contained in:
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
# ---- Build stage ----
|
# ---- 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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies first so Docker can cache this layer
|
# Install dependencies first so Docker can cache this layer
|
||||||
|
|||||||
Reference in New Issue
Block a user