NinjainPJs commited on
Commit
04fc1b0
·
1 Parent(s): c3c0560

Add Railway deployment config — Procfile, runtime.txt, nixpacks.toml

Browse files
Files changed (3) hide show
  1. Procfile +1 -0
  2. nixpacks.toml +8 -0
  3. runtime.txt +1 -0
Procfile ADDED
@@ -0,0 +1 @@
 
 
1
+ web: uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
nixpacks.toml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [phases.setup]
2
+ nixPkgs = ["python311", "gcc"]
3
+
4
+ [phases.install]
5
+ cmds = ["pip install -r requirements.txt"]
6
+
7
+ [start]
8
+ cmd = "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.11.15