Browse Source

make railway happy

develop
lanvent 1 year ago
parent
commit
12dc7427e9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      nixpacks.toml

+ 3
- 3
nixpacks.toml View File

@@ -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…
Cancel
Save