Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
394: Reduce docker image size r=alallema a=sanders41 # Pull Request With these changes I got ~ a 43% reduction in the final image size (1.55GB to 877MB). Note that depending on your local files present (virtual environments, etc) you may see slightly different numbers with a build, but it will always be significantly smaller. ## Related issue Fixes #<issue_number> ## What does this PR do? - Cleans up the `apt-get install` section - Adds a `.dockerignore` file - Removes the separate install of `pip3`. Because the image is `python:3.10.8-slim-bullseye` `pip` is already included by default ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <psanders1@gmail.com>
- Loading branch information