fix: deploy
This commit is contained in:
@@ -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* ./
|
||||
|
||||
Reference in New Issue
Block a user