diff --git a/manifest.toml b/manifest.toml index d0051dd..fd95580 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,7 @@ ram.runtime = "2G" main.default = 3020 [resources.apt] - packages = "ffmpeg, postgresql, build-essential" + packages = "ffmpeg, postgresql, build-essential, git-lfs" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" diff --git a/scripts/install b/scripts/install index c485a84..08e3589 100755 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init popd