build: manage only pnpm with mise, keep node from the base image
Build and Push Docker Image / build (push) Successful in 3m17s

This commit is contained in:
Lucas Oskorep committed 2026-10-26 22:25:54 -04:00
1 parent a37ac40b78
commit b7a07924a4
2 files changed
+7 -5

No files matched your search

+7 -4
View File
@@ -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"
-1
View File
@@ -1,5 +1,4 @@
[tools]
python = "3.14"
uv = "latest"
node = "26"
pnpm = "10.33.0"