Skip to content

Commit

Permalink
fix: prisma Dockerfile not working when adding requiered prop
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanHjelsethStorstad committed Oct 26, 2023
1 parent 298f0c5 commit 51cbb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prisma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ RUN npm install @prisma/client
RUN npx prisma generate
COPY seed.js ./

CMD ["/bin/sh", "-c", "npx prisma migrate dev --name docker-migration --skip-generate; node seed.js"]
CMD ["/bin/sh", "-c", "npx prisma db push --force-reset --skip-generate; node seed.js"]

0 comments on commit 51cbb99

Please sign in to comment.