Spaces:
Sleeping
Sleeping
File size: 300 Bytes
b79f79f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | FROM python:3.11-slim
WORKDIR /app
# Copier tous les fichiers
COPY . /app
# Installer les dépendances
RUN pip install --no-cache-dir -r requirements.txt
# Exposer le port attendu par HF
EXPOSE 7860
# Lancer FastAPI
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |