feat: support railway template

This commit is contained in:
lanvent
2023-03-28 05:28:28 +08:00
parent 3e2c68ba49
commit 834c03359f
2 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
# entry point for online railway deployment
from app import run
if __name__ == '__main__':
run()

7
nixpacks.toml Normal file
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"