File size: 559 Bytes
894a166
bbf038d
89bc298
 
 
 
 
 
eba235b
89bc298
 
 
bbf038d
 
 
 
 
 
 
a003b9d
bbf038d
 
eba235b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.10-slim

WORKDIR /app

# Install system dependencies (git for cloning, ffmpeg for audio)
RUN apt-get update && apt-get install -y --no-install-recommends \
    git \
    ffmpeg \
    ca-certificates \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get clean

# Clone the repo
RUN git clone https://github.com/Ranjan-Shettigar/YTAV.git /app

# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose FastAPI port
EXPOSE 5000

# Run the app with Uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5000"]