Skip to content

Commit 130393a

Browse files
committed
feat: run prisma migrations during deployment
1 parent 22e1fd4 commit 130393a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
echo "Running Prisma migrations..."
5-
npx prisma migrate deploy --schema=prisma/schema.prisma
5+
yarn prisma migrate deploy --schema=prisma/schema.prisma
66

77
echo "Starting application..."
88
exec node app.js

0 commit comments

Comments
 (0)