diff --git a/Dockerfile b/Dockerfile index 3ba33c2c..d103ff77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,13 @@ FROM node:lts-alpine -RUN npm install -g pnpm - WORKDIR /app COPY pnpm-lock.yaml /app -RUN pnpm fetch --prod +RUN corepack pnpm fetch --prod COPY / /app -RUN pnpm install --prod --offline --frozen-lockfile +RUN corepack pnpm install --prod --offline --frozen-lockfile ENTRYPOINT [ "node", "dist/server/main.js" ] diff --git a/package.json b/package.json index bd04b2ef..e37d55d0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "engines": { "node": "^20.11.0" }, - "packageManager": "pnpm@9.0.4", + "packageManager": "pnpm@9.0.6", "scripts": { "start:server": "nest start --debug --watch", "build:server": "nest build",