# Force rebuild - 2026-07-12 v2 # Use an official lightweight Python image FROM python:3.9-slim # Set the working directory WORKDIR /app # Copy your requirements and install them COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy all your project files (including the massive database) into the container COPY . . # Expose port 7860 (Hugging Face's default port) EXPOSE 7860 # Command to run the FastAPI server CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "7860"]