Skip to content

Commit

Permalink
ci: fix packageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Apr 25, 2024
1 parent 9f666cf commit 30b6e73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"engines": {
"node": "^20.11.0"
},
"packageManager": "[email protected].4",
"packageManager": "[email protected].6",
"scripts": {
"start:server": "nest start --debug --watch",
"build:server": "nest build",
Expand Down

0 comments on commit 30b6e73

Please sign in to comment.