Parcourir la source

Update nixpacks.toml

lanvent il y a 3 ans
Parent
commit
0b4bf15163
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      nixpacks.toml

+ 1 - 1
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"