Skip to content

Commit

Permalink
feat: prisma migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrankbasant committed Oct 2, 2023
1 parent ebebc43 commit 4a724ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN npm install

COPY . .

RUN npx prisma migrate deploy

RUN npm run build

EXPOSE 8080
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/morgan": "^1.9.5",
"@types/node": "^20.5.6",
"nodemon": "^3.0.1",
"prisma": "^5.2.0",
"prisma": "^5.3.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
Expand Down

0 comments on commit 4a724ed

Please sign in to comment.