Add Migrations
This commit is contained in:
8
backend/docker-entrypoint.sh
Normal file
8
backend/docker-entrypoint.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "Running database migrations..."
|
||||
npx prisma migrate deploy
|
||||
|
||||
echo "Starting application..."
|
||||
exec npm start
|
||||
Reference in New Issue
Block a user