diff --git a/Dockerfile b/Dockerfile index 9895f65..713df67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,12 @@ FROM python:3.12-slim WORKDIR /app +# Install build tools for packages like hnswlib +RUN apt-get update && apt-get install -y --no-install-recommends \ + g++ \ + gcc \ + && rm -rf /var/lib/apt/lists/* + COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt