FROM python:3.10-slim WORKDIR /app # Install system tools RUN apt-get update && apt-get install -y build-essential cmake git && rm -rf /var/lib/apt/lists/* # Install the AI engine (llama-cpp) and downloader RUN pip install --no-cache-dir gradio huggingface_hub llama-cpp-python # Copy your script COPY . . # Run the app CMD ["python", "app.py"]