From b7a07924a451a968cde4cf0bea7eb2907dfa7479 Mon Sep 17 00:00:00 2001 From: Lucas Oskorep Date: Mon, 26 Oct 2026 22:25:54 -0400 Subject: [PATCH] build: manage only pnpm with mise, keep node from the base image --- Dockerfile | 11 +++++++---- mise.toml | 1 - 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72898b4..bf23e08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,20 @@ -FROM ghcr.io/jdx/mise:2026.10.19-debian AS frontend-builder +FROM ghcr.io/jdx/mise:2026.10.19 AS mise + +FROM docker.io/library/node:25 AS frontend-builder LABEL authors="lucasoskorep" WORKDIR /build/mta-sign-ui +COPY --from=mise /usr/local/bin/mise /usr/local/bin/mise COPY mise.toml ./ -RUN mise trust && mise install node pnpm +RUN mise trust && mise install pnpm COPY mta-sign-ui/package.json mta-sign-ui/pnpm-lock.yaml* ./ COPY mta-sign-ui/ ./ -RUN pnpm install --frozen-lockfile -RUN pnpm build +RUN mise exec -- pnpm install --frozen-lockfile +RUN mise exec -- pnpm build FROM ghcr.io/astral-sh/uv:python3.13-bookworm LABEL authors="lucasoskorep" diff --git a/mise.toml b/mise.toml index 851354a..b5cde8d 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,4 @@ [tools] python = "3.14" uv = "latest" -node = "26" pnpm = "10.33.0"