瀏覽代碼

make railway happy

develop
lanvent 1 年之前
父節點
當前提交
12dc7427e9
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      nixpacks.toml

+ 3
- 3
nixpacks.toml 查看文件

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

[phases.setup]
nixPkgs = ['python310']
cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak libavcodec-extra','python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements-optional.txt']
cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak libavcodec-extra']
[phases.install]
cmds = ['python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt && pip install -r requirements-optional.txt']
[start]
cmd = "python ./app.py"

Loading…
取消
儲存