File size: 285 Bytes
a8c7066
 
 
 
 
 
75b5283
 
 
1
2
3
4
5
6
7
8
9
10
FROM python:3.11-slim

WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Exposer port (Hugging Face Spaces utilise 7860 par défaut)
EXPOSE 7860
CMD ["uvicorn", "src.adapters.inbound.api.app:app", "--host", "0.0.0.0", "--port", "7860"]