Skip to content

Commit

Permalink
Install pinned dependencies for building the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
zebrapurring committed Jan 6, 2025
1 parent 17fb9ba commit 7d9c0ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build_pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ build_immich() {
npm --prefix "$dest_dir/open-api/typescript-sdk" run build
npm --prefix "$dest_dir/open-api/typescript-sdk" prune --omit=dev --omit=optional
cp -R "$repo_dir/web" "$dest_dir/"
rm "$dest_dir/web/package-lock.json"
npm --prefix "$dest_dir/web" install --foreground-scripts
npm --prefix "$dest_dir/web" ci
npm --prefix "$dest_dir/web" install --os=darwin --cpu=arm64 sharp
npm --prefix "$dest_dir/web" run build
npm --prefix "$dest_dir/web" prune --omit=dev --omit=optional
Expand Down

0 comments on commit 7d9c0ac

Please sign in to comment.