This commit is contained in:
Alex Holliday committed 2025-12-16 23:46:00 +00:00
1 parent a17309e17c
commit f9f94cc33c
2 files changed
+9 -2

No files matched your search

+3 -1
View File
@@ -14,7 +14,9 @@ RUN npm run build
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-alpine AS deps
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
# For arm64 under QEMU, alpine + musl can trigger Illegal instruction with npm ci.
# Use npm install for broader compatibility.
RUN npm install --omit=dev
## Runtime image (target platform)
FROM --platform=$TARGETPLATFORM node:${NODE_VERSION}-alpine