# Dockerfile.cpu FROM python:3.12-slim WORKDIR /app COPY . . RUN apt-get update && apt-get install -y gcc g++ git && \ pip install --upgrade pip && \ pip install --no-cache-dir -r requirements.txt EXPOSE 7860 CMD ["python", "app.py"]