Moved to hatch vcs to improve oci container cacheing performance.

This commit is contained in:
2026-09-15 16:16:16 +00:00
parent d288523d4e
commit e06e077ebe
13 changed files with 55 additions and 89 deletions
+3
View File
@@ -3,6 +3,8 @@
# 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).
# Declare the automatic build arguments
ARG BUILDPLATFORM
FROM --platform=$BUILDPLATFORM node:lts-trixie-slim AS base
# Install dependencies only when needed
@@ -67,6 +69,7 @@ WORKDIR /app/
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#using-the-environment
ENV PATH="/app/.venv/bin:$PATH"
# Install dependencies
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers
RUN --mount=type=cache,target=/root/.cache/uv \