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
Add --no-install-recommends option in order to install only what is required
Remove Node.js as it is not used by this project
Do not install sudo as it's not required
Limit the number of RUN
Delete apt cache: rm -rf /var/lib/apt/lists/*
Update google-chrome-stable (the old version isn't available anymore)
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.59GBChange Summary
PR Checklist