# Utiliser une image Python officielle FROM python:3.9-slim # Définir le répertoire de travail WORKDIR /app # Copier les fichiers nécessaires COPY . . # Installer les dépendances RUN pip install --no-cache-dir -r requirements.txt # Exposer le port 7860 EXPOSE 7860 # Lancer l'application CMD ["python", "app.py"]