From 0b4bf151634a02d9628d2dfab45ca9272374709a Mon Sep 17 00:00:00 2001 From: lanvent Date: Thu, 13 Apr 2023 20:08:53 +0800 Subject: [PATCH] Update nixpacks.toml --- nixpacks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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