move hypercorn startCommand to backend

This commit is contained in:
2024-10-16 00:32:07 -05:00
parent 82b03f6211
commit 4efba39103

9
backend/railway.json Normal file
View File

@@ -0,0 +1,9 @@
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "hypercorn main:app --bind \"[::]:$PORT\""
}
}