Skip to content

Commit

Permalink
chore: change start command for docker to run application only
Browse files Browse the repository at this point in the history
  • Loading branch information
liorzblrn committed Dec 8, 2024
1 parent c4959d8 commit 1177214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/workflows-service/Dockerfile.ee
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ COPY ./prisma/data-migrations ./prisma/data-migrations

EXPOSE 3000

CMD [ "dumb-init", "npm", "run", "prod:next" ]
CMD [ "dumb-init", "npm", "run", "prod" ]
5 changes: 3 additions & 2 deletions services/workflows-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"lint": "eslint . --fix",
"start": "nest start",
"dev": "npm run start:watch",
"prod": "npm run db:migrate-up && node dist/src/main",
"prod:next": "npm run db:migrate-up && npm run db:data-sync && node dist/src/main",
"start:prod": "node dist/src/main",
"prod": "npm run db:migrate-up && pnpm run start:prod",
"prod:next": "npm run db:migrate-up && npm run db:data-sync && pnpm run start:prod",
"start:watch": "nest start --watch",
"start:debug": "nest start --debug --watch",
"build": "nest build --path=tsconfig.build.json",
Expand Down

0 comments on commit 1177214

Please sign in to comment.