File size: 421 Bytes
0052fb4
 
ec0251b
0052fb4
ec0251b
 
0052fb4
 
 
 
 
 
 
c8f78d4
0052fb4
 
 
e7b436b
0052fb4
ec0251b
 
0052fb4
ec0251b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Use Python base image
FROM python:3.10

# Set working directory
WORKDIR /home/user/app

# Install system dependencies
RUN apt-get update && apt-get install -y \
    git \
    ffmpeg \
    libsm6 \
    libxext6 \
    && rm -rf /var/lib/apt/lists/*

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

# Copy app files
COPY . .

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