| FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime | |
| WORKDIR /app | |
| RUN python --version | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| libsndfile1 \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir Cython packaging | |
| RUN pip install --no-cache-dir fastapi python-multipart uvicorn | |
| RUN git clone https://github.com/PranavDBhat/LIMMITS-24-Coquiai.git /app/LIMMITS-24-Coquiai | |
| RUN cd /app/LIMMITS-24-Coquiai && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| RUN cd /app/LIMMITS-24-Coquiai && \ | |
| pip install -e . | |
| COPY ./ ./ | |
| RUN [ "python", "API_Main.py" ] | |