diff --git a/strapi.dockerfile b/strapi.dockerfile index 1d53c90..26c2c56 100644 --- a/strapi.dockerfile +++ b/strapi.dockerfile @@ -7,7 +7,7 @@ RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev l WORKDIR /app COPY pnpm-lock.yaml package.json ./ #RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --shamefully-hoist -RUN pnpm install --force --frozen-lockfile --shamefully-hoist +RUN pnpm install --shamefully-hoist ENV NODE_ENV=production COPY ./packages/strapi . RUN chown -R node:node /app