# Base image FROM python:3.10-slim # Set working directory WORKDIR /app # Copy project files COPY . . # Install system dependencies RUN apt-get update && apt-get install -y libfaiss-dev && rm -rf /var/lib/apt/lists/* # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose the application port EXPOSE 8000 # Run the application CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]