瀏覽代碼

feat: support railway template

master
lanvent 1 年之前
父節點
當前提交
834c03359f
共有 2 個檔案被更改,包括 7 行新增5 行删除
  1. +0
    -5
      main.py
  2. +7
    -0
      nixpacks.toml

+ 0
- 5
main.py 查看文件

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

if __name__ == '__main__':
run()

+ 7
- 0
nixpacks.toml 查看文件

@@ -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…
取消
儲存