diff --git a/Dockerfile b/Dockerfile index 1cbe0e7c..cab333a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM node:20-alpine AS base +RUN npm install -g pnpm@10 + # Install dependencies only when needed FROM base AS deps RUN apk add --no-cache libc6-compat curl WORKDIR /app -# Install pnpm -RUN npm install -g pnpm@10 # Install dependencies based on the preferred package manager COPY package.json pnpm-lock.yaml* ./