Browse Source

feat: support railway template

master
lanvent 1 year ago
parent
commit
834c03359f
2 changed files with 7 additions and 5 deletions
  1. +0
    -5
      main.py
  2. +7
    -0
      nixpacks.toml

+ 0
- 5
main.py View File

@@ -1,5 +0,0 @@
# entry point for online railway deployment
from app import run

if __name__ == '__main__':
run()

+ 7
- 0
nixpacks.toml View File

@@ -0,0 +1,7 @@
providers = ['python']

[phases.setup]
nixPkgs = ['python310']
cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak']
[start]
cmd = "python ./app.py"

Loading…
Cancel
Save