# ---------- Backend Dockerfile ---------- # Use lightweight Python image FROM python:3.13-slim # Set working directory WORKDIR /app # Copy dependency files COPY requirements.txt . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy source code COPY . . # Expose FastAPI port EXPOSE 8000 # Run FastAPI app CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]