# Use Python 3.11.9 as the base image FROM python:3.11.9-slim # Set the working directory WORKDIR /root # Install Git RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/* # Install specified dependency packages RUN pip install --no-cache-dir \ duckduckgo_search==5.3.1b1 \ einops \ fastapi \ janus \ pyvis \ sse-starlette \ termcolor \ uvicorn \ griffe==0.48.0 \ python-dotenv \ lagent==0.5.0rc1 # Copy the mindsearch folder to the /root directory of the container COPY mindsearch /root/mindsearch