Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions railway.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"$schema": "https://railway.app/railway.schema.json",
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "pnpm install && cd backend && npx prisma generate && npx prisma migrate deploy && pnpm run build"
"builder": "RAILPACK",
"buildCommand": "cd backend && npx prisma generate && pnpm run build"
},
"deploy": {
"preDeployCommand": "cd backend && npx prisma migrate deploy",
"startCommand": "cd backend && node dist/main.js",
"healthcheckPath": "/api/v1/health",
"healthcheckTimeout": 120,
Expand Down
Loading