fix(pnpm): replace npm with pnpm in dockerfile

This commit is contained in:
Sam McLeod 2023-12-15 14:38:10 +11:00 committed by Kent Keirsey
parent fa3f1b6e41
commit bee6ad1547

View File

@ -61,9 +61,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
FROM node:18 AS web-builder
WORKDIR /build
RUN npm i -g pnpm
COPY invokeai/frontend/web/ ./
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 \
yarn vite build