mirror of
https://github.com/khairul169/garage-webui.git
synced 2026-07-28 11:00:19 +07:00
fix: pin pnpm version in Docker build
This commit is contained in:
parent
05a628cb03
commit
c6d4315c52
@ -1,7 +1,7 @@
|
|||||||
FROM node:20-slim AS frontend
|
FROM node:20-slim AS frontend
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm install -g corepack@latest && corepack use pnpm@latest
|
RUN npm install -g pnpm@9.15.9
|
||||||
|
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user