api_sparrow_ocr / Dockerfile
Frederic-CellNum's picture
Create Dockerfile
93dce8d verified
raw
history blame
266 Bytes
FROM tiangolo/uvicorn-gunicorn:python3.11
WORKDIR /app
# Copier les fichiers
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
# Exposer le port
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]