File size: 465 Bytes
45b3b0b
8f3f9b0
45b3b0b
7956bb0
f4308a7
a0a7882
 
03ff9cc
a0a7882
f4308a7
 
a0a7882
45b3b0b
 
ad055f3
45b3b0b
a0a7882
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.10-slim

# Install system dependencies (git needed for OSS repo, ffmpeg optional but kept for compatibility)
RUN apt-get update && apt-get install -y git ffmpeg && rm -rf /var/lib/apt/lists/*

WORKDIR /app

# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
    pip install --no-cache-dir -r requirements.txt

# Copy the demo app
COPY app.py .

# Run the app
CMD ["python", "app.py"]