mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(pnpm): replace npm with pnpm in dockerfile
This commit is contained in:
parent
fa3f1b6e41
commit
bee6ad1547
@ -61,9 +61,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
|||||||
|
|
||||||
FROM node:18 AS web-builder
|
FROM node:18 AS web-builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
RUN npm i -g pnpm
|
||||||
COPY invokeai/frontend/web/ ./
|
COPY invokeai/frontend/web/ ./
|
||||||
RUN --mount=type=cache,target=/usr/lib/node_modules \
|
RUN --mount=type=cache,target=/usr/lib/node_modules \
|
||||||
npm install --include dev
|
pnpm i --include dev
|
||||||
RUN --mount=type=cache,target=/usr/lib/node_modules \
|
RUN --mount=type=cache,target=/usr/lib/node_modules \
|
||||||
yarn vite build
|
yarn vite build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user