Moved to hatch vcs to improve oci container cacheing performance.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user