Skip to content

Commit

Permalink
Added prisma db push to Dockerfile + changed package version
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWitzdam committed Sep 3, 2024
1 parent 1489905 commit fe96282
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 @@ -26,4 +26,4 @@ RUN npx prisma generate
RUN apk add --no-cache git

EXPOSE 3000
CMD node server.js
CMD npx prisma db push && node server.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gitsave",
"type": "module",
"version": "1.0",
"version": "1.1.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand Down

0 comments on commit fe96282

Please sign in to comment.