# ============================ # 1. Image de base Python # ============================ FROM python:3.10-slim # ============================ # 2. Dossier de travail # ============================ WORKDIR /app # ============================ # 3. Copier requirements.txt # ============================ COPY requirements.txt . # ============================ # 4. Installer les dépendances Python # ============================ RUN pip install --no-cache-dir -r requirements.txt # ============================ # 5. Copier ton application # ============================ COPY app.py . # ============================ # 6. Exposer le port Gradio # ============================ EXPOSE 7860 # ============================ # 7. Lancer ton app # ============================ CMD ["python", "app.py"]