set pnpm to @7

This commit is contained in:
Philipp Dormann 2023-03-15 15:02:54 +01:00
parent 46db68ab22
commit 44329413ed
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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