set pnpm to @7
This commit is contained in:
parent
46db68ab22
commit
44329413ed
@ -29,7 +29,7 @@ steps:
|
||||
depends_on: ["clone"]
|
||||
image: registry.odit.services/hub/library/node:19.7.0-alpine3.16
|
||||
commands:
|
||||
- npm config set registry http://npm-cache.drone.svc.cluster.local:8080 && npm i -g pnpm
|
||||
- npm config set registry http://npm-cache.drone.svc.cluster.local:8080 && npm i -g pnpm@7
|
||||
- pnpm i
|
||||
- pnpm licenses:export
|
||||
- name: push new licenses file to repo
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM registry.odit.services/hub/library/node:19.7.0-alpine3.16 as build
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN npx pnpm@7.5.1 i
|
||||
RUN npx pnpm@7 i
|
||||
COPY package.json pnpm-lock.yaml *.config.js postcss.config.cjs tailwind.config.js vite.config.js index.html ./
|
||||
COPY src ./src
|
||||
COPY public ./public
|
||||
|
Loading…
x
Reference in New Issue
Block a user