chore: switch to pnpm

This commit is contained in:
Sonny
2024-07-07 20:23:26 +02:00
parent a45d534fa0
commit fd896db872
5 changed files with 9561 additions and 14538 deletions

View File

@@ -8,14 +8,14 @@ RUN corepack enable
# All deps stage
FROM base AS deps
WORKDIR /app
ADD package.json package-lock.json ./
RUN npm install --ignore-scripts
ADD package.json pnpm-lock.yaml ./
RUN pnpm install --ignore-scripts
# Production only deps stage
FROM base AS production-deps
WORKDIR /app
ADD package.json package-lock.json ./
RUN npm install --ignore-scripts
ADD package.json pnpm-lock.yaml ./
RUN pnpm install --ignore-scripts
# Build stage
FROM base AS build