1234567
  1. providers = ['python']
  2. [phases.setup]
  3. nixPkgs = ['python310']
  4. 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']
  5. [start]
  6. cmd = "python ./app.py"