diff --git a/nixpacks.toml b/nixpacks.toml index 3561677..be6ed6f 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -2,6 +2,6 @@ providers = ['python'] [phases.setup] nixPkgs = ['python310'] -cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak'] +cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak','python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements-optional.txt'] [start] cmd = "python ./app.py" \ No newline at end of file