mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 10:55:34 +00:00
Add corepack to setup pnpm
This commit is contained in:
parent
65629d07ff
commit
a4a722b462
@ -2,11 +2,10 @@ FROM node:20.18.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
# Install dependencies (this step is cached as long as the dependencies don't change)
|
||||
COPY package.json package-lock.json .
|
||||
RUN pnpm install
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN corepack enable pnpm && pnpm install
|
||||
|
||||
# Copy the rest of your app's source code
|
||||
COPY . .
|
||||
|
Loading…
Reference in New Issue
Block a user