FROM python:3.11-slim WORKDIR /app # Copier les fichiers COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Exposer le port pour Hugging Face EXPOSE 7860 # Lancer l'app Flask CMD ["python", "app.py"]