dont cache

This commit is contained in:
Chris Grimmett 2024-04-08 15:13:35 -08:00
parent 2d70cd735f
commit 2c952237fd
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ 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 --shamefully-hoist
#RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --shamefully-hoist
RUN pnpm install --frozen-lockfile --shamefully-hoist
ENV NODE_ENV=production
COPY ./packages/strapi .
RUN chown -R node:node /app