Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Theezr committed Aug 14, 2024
1 parent 5bc64de commit f55ba1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ RUN npm install --omit=dev
COPY --chown=node:node --from=build /usr/src/app/node_modules/.prisma/client ./node_modules/.prisma/client

## TODO: hacky way to make sure the db is up before running the migration
CMD ["sh", "-c", "sleep 30; exec npm run start:migrate:prod"]
CMD ["sh", "-c", "sleep 20; exec npm run start:migrate:prod"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start:dev": "npm run prisma && nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:migrate:prod": "npm run prisma migrate deploy && npm run start:prod",
"start:migrate:prod": "prisma migrate deploy && npm run start:prod",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
Expand Down

0 comments on commit f55ba1d

Please sign in to comment.