Skip to content

Commit

Permalink
chore(backend): use pnpm replace npm
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Oct 24, 2023
1 parent c74cb88 commit ea5dee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ EXPOSE 3000

# 启动应用

CMD ["npm", "run", "start:prod"]
CMD ["pnpm", "run", "start:prod"]
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"docker:start": "npm run build && docker-compose up --build"
"docker:start": "pnpm run build && docker-compose up --build"
},
"dependencies": {
"@nestjs/common": "^9.3.5",
Expand Down

1 comment on commit ea5dee0

@vercel
Copy link

@vercel vercel bot commented on ea5dee0 Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.