diff --git a/Dockerfile b/Dockerfile index cf9a36d..4ce0b04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ # --- Build stage: produce static dist/ --- -FROM node:22-alpine AS build +# Debian (glibc), not alpine: Astro 7's Rust toolchain (rolldown/oxc) has +# flaky musl native bindings, and the lockfile is resolved for linux-x64-gnu. +FROM node:22-slim AS build WORKDIR /app # Install deps against the lockfile for reproducible builds.