From 2c952237fd9ca02b1da21d1808bb66b24e402758 Mon Sep 17 00:00:00 2001 From: Chris Grimmett Date: Mon, 8 Apr 2024 15:13:35 -0800 Subject: [PATCH] dont cache --- strapi.dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/strapi.dockerfile b/strapi.dockerfile index 82bee23..253b12f 100644 --- a/strapi.dockerfile +++ b/strapi.dockerfile @@ -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