File size: 614 Bytes
f15e280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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" ]