File size: 271 Bytes
0e45ee1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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"]
|