FROM python:3.11 | |
COPY . . | |
RUN apt-get update && apt-get -y install tesseract-ocr && apt-get install ffmpeg libsm6 libxext6 -y | |
RUN pip install librosa | |
RUN pip install -r requirements.txt | |
RUN mkdir -p /cache && chmod 777 /cache | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |