| 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 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 . |
|
|
| |
| RUN mkdir -p /app/models /app/data/input /app/data/output |
|
|
| |
| COPY infer.py /app/ |
|
|
| |
| ENTRYPOINT ["python", "infer.py"] |
|
|
| |
| CMD ["--help"] |