shamefully hoist

This commit is contained in:
Chris Grimmett 2024-04-08 15:08:06 -08:00
parent 7a506071e2
commit 131a1397e3
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ RUN corepack enable
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev libc6-compat git nasm bash gcompat
WORKDIR /app
COPY pnpm-lock.yaml package.json ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --shamefully-hoist
COPY ./packages/strapi .
RUN chown -R node:node /app
USER node