| FROM python:3.10 | |
| # Dossier de travail | |
| WORKDIR /code | |
| # Installer les dépendances | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copier le code | |
| COPY . . | |
| # Lancer ton app.py avec Gradio (ou FastAPI si tu modifies) | |
| CMD ["python", "app.py"] | |