1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00
This commit is contained in:
Sylvain 2024-03-27 07:26:34 +01:00
parent 17843fcf58
commit 4db4b1dea7
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ ram.runtime = "500M"
api.protected = true
[resources.apt]
packages = ["python3-venv", "python3-dev", "ffmpeg", "postgresql"]
packages = ["python3-venv", "python3-dev", "ffmpeg", "postgresql", "wget", "build-essential", "libreadline-dev", "libncursesw5-dev", "libssl-dev", "libsqlite3-dev", "tk-dev", "libgdbm-dev", "libc6-dev", "libbz2-dev", "libffi-dev", "zlib1g-dev"]
extras.postgresql.repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16"
extras.postgresql.key = "https://www.postgresql.org/media/keys/ACCC4CF8.asc"

View file

@ -178,10 +178,10 @@ myynh_install_immich() {
set -o nounset
# add poetry
"$install_dir/app/machine-learning/venv/bin/pip3" install --upgrade poetry
ynh_exec_warn_less "$install_dir/app/machine-learning/venv/bin/pip3" install --upgrade poetry
# poetry install
"$install_dir/app/machine-learning/venv/bin/poetry" install --no-root --with dev --with cpu
ynh_exec_warn_less "$install_dir/app/machine-learning/venv/bin/poetry" install --no-root --with dev --with cpu
)
cp -a "$tmpdir/machine-learning/ann" "$install_dir/app/machine-learning/"
cp -a "$tmpdir/machine-learning/start.sh" "$install_dir/app/machine-learning/"