Remove unused deps and multi-stage Dockerfile with pip
Drop transformers, matplotlib, geopy, and diskcache (~560MB) from dependencies — none are imported in the codebase. Replace single-stage poetry-based Docker build with a two-stage pip-based build: builder stage installs into a venv from an exported requirements.txt, runtime stage copies only the venv and app code. Eliminates poetry from the image (fixes ARM segfaults) and removes ~200MB of build tools from the final image.
This commit is contained in:
parent
c76a7ac028
commit
56a7662b8f
4 changed files with 1897 additions and 766 deletions
1874
crawler/requirements.txt
Normal file
1874
crawler/requirements.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue