typesense / typesense-docsearch-scraper

A fork of Algolia's awesome DocSearch Scraper, customized to index data in Typesense (an open source alternative to Algolia)
https://typesense.org/docs/guide/docsearch.html
Other
95 stars 35 forks source link

Optimize package installation in docker base image #32

Open am97 opened 1 year ago

am97 commented 1 year ago

This PR reduces significantly the size of the typesense/docsearch-scraper-base image by making some optimizations and removing Node.js, which has been in this project since the first commit but isn't used or documented.

The uncompressed size is reduced from 2.01GB (typesense/docsearch-scraper:0.9.1) to 1.59GB

Change Summary

am97 commented 1 year ago

Wondering if Nodejs is even required, the scraper seems to work fine without it