text-generation-inference
text-generation-inference copied to clipboard
Remove Conda from Docker Installation
System Info
The docker file has non-commercial conda installation whereas the tgi is Apache-2.0 License. Installing tgi through docker creates conda license violation.
https://github.com/huggingface/text-generation-inference/blob/main/Dockerfile
Information
- [x] Docker
- [ ] The CLI directly
Tasks
- [x] An officially supported command
- [ ] My own modifications
Reproduction
https://github.com/huggingface/text-generation-inference/blob/main/Dockerfile
ENV PATH=/opt/conda/bin:$PATH
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
build-essential
ca-certificates
ccache
curl
git &&
rm -rf /var/lib/apt/lists/*
Install conda
Expected behavior
Should be using venv or other env and not conda if using commercially.