build: manage node and pnpm with mise
Build and Push Docker Image / build (push) Successful in 3m20s

Frontend stage now builds on the mise image and installs node + pnpm
from mise.toml instead of node:25 plus an unpinned global pnpm.
This commit is contained in:
Lucas Oskorep committed 2026-10-26 22:20:06 -04:00
1 parent fd023e487c
commit a37ac40b78
3 files changed
+9 -5

No files matched your search

-2
View File
@@ -4,8 +4,6 @@
.gitea
.github
.idea
.mise.toml
mise.toml
.docker
Dockerfile
docker-compose.yaml
+4 -3
View File
@@ -1,11 +1,12 @@
FROM docker.io/library/node:25 AS frontend-builder
FROM ghcr.io/jdx/mise:2026.10.19-debian AS frontend-builder
LABEL authors="lucasoskorep"
WORKDIR /build/mta-sign-ui
COPY mta-sign-ui/package.json mta-sign-ui/pnpm-lock.yaml* ./
COPY mise.toml ./
RUN mise trust && mise install node pnpm
RUN npm install -g pnpm@10.33.0
COPY mta-sign-ui/package.json mta-sign-ui/pnpm-lock.yaml* ./
COPY mta-sign-ui/ ./
+5
View File
@@ -0,0 +1,5 @@
[tools]
python = "3.14"
uv = "latest"
node = "26"
pnpm = "10.33.0"