mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
11 lines
239 B
Bash
11 lines
239 B
Bash
#!/bin/bash
|
|
|
|
DATABASE_URL="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB"
|
|
export DATABASE_URL
|
|
|
|
JWT_SECRET=$(cat "$JWT_TOKEN_FILE")
|
|
export JWT_SECRET
|
|
|
|
npx prisma db push --skip-generate
|
|
|
|
exec "$@" |