mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +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
|
WORKDIR /app
|
||||||
|
|
||||||
RUN npm install -g pnpm
|
|
||||||
|
|
||||||
# Install dependencies (this step is cached as long as the dependencies don't change)
|
# Install dependencies (this step is cached as long as the dependencies don't change)
|
||||||
COPY package.json package-lock.json .
|
COPY package.json pnpm-lock.yaml ./
|
||||||
RUN pnpm install
|
|
||||||
|
RUN corepack enable pnpm && pnpm install
|
||||||
|
|
||||||
# Copy the rest of your app's source code
|
# Copy the rest of your app's source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
Reference in New Issue
Block a user