diff --git a/backend/.npmrc b/backend/.npmrc index 97317ff..58e7c0b 100644 --- a/backend/.npmrc +++ b/backend/.npmrc @@ -1,5 +1,2 @@ enable-pre-post-scripts=true -onlyBuiltDependencies[]=@prisma/client -onlyBuiltDependencies[]=@prisma/engines -onlyBuiltDependencies[]=esbuild -onlyBuiltDependencies[]=prisma \ No newline at end of file +only-built-dependencies=true \ No newline at end of file diff --git a/backend/Dockerfile b/backend/Dockerfile index 4f61f5f..1c03314 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -4,8 +4,6 @@ FROM node:22-alpine AS builder WORKDIR /app -ENV PNPM_APPROVE_BUILDS=* - COPY package.json pnpm-lock.yaml .npmrc ./ RUN corepack enable && pnpm install --frozen-lockfile