diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index 4e17980..59c5c4f 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -19,4 +19,4 @@ EXPOSE 3000 # 启动应用 -CMD ["npm", "run", "start:prod"] \ No newline at end of file +CMD ["pnpm", "run", "start:prod"] \ No newline at end of file diff --git a/apps/backend/package.json b/apps/backend/package.json index a3452a3..b932872 100644 --- a/apps/backend/package.json +++ b/apps/backend/package.json @@ -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",