podman build fix.
This commit is contained in:
+6
-1
@@ -1,4 +1,9 @@
|
||||
FROM node:lts-trixie-slim AS base
|
||||
# Pin the Node stages to the builder's own platform ($BUILDPLATFORM).
|
||||
# The Angular build output is platform-independent static files, so there is
|
||||
# no need to run yarn/ng build under qemu emulation for linux/arm64 - doing
|
||||
# so is slow and memory hungry and can OOM the machine during multi-arch
|
||||
# builds (podman builds all --platform targets concurrently).
|
||||
FROM --platform=$BUILDPLATFORM node:lts-trixie-slim AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
|
||||
Reference in New Issue
Block a user