build: manage node and pnpm with mise
Build and Push Docker Image / build (push) Successful in 3m20s
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:
3 files changed
+9
-5
No files matched your search
@@ -4,8 +4,6 @@
|
|||||||
.gitea
|
.gitea
|
||||||
.github
|
.github
|
||||||
.idea
|
.idea
|
||||||
.mise.toml
|
|
||||||
mise.toml
|
|
||||||
.docker
|
.docker
|
||||||
Dockerfile
|
Dockerfile
|
||||||
docker-compose.yaml
|
docker-compose.yaml
|
||||||
|
|||||||
+4
-3
@@ -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"
|
LABEL authors="lucasoskorep"
|
||||||
|
|
||||||
WORKDIR /build/mta-sign-ui
|
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/ ./
|
COPY mta-sign-ui/ ./
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user