Spaces:
Running
Running
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copier requirements et installer | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copier tous les fichiers | |
| COPY . . | |
| # Exposer le port | |
| EXPOSE 7860 | |
| # Lancer l'application | |
| CMD ["python", "app.py"] |