File size: 426 Bytes
3a5249b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use a Python base image
FROM python:3.9

# Set the working directory
WORKDIR /app

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

# Ensure ffmpeg and other necessary system dependencies are installed
RUN apt-get update && apt-get install -y ffmpeg

# Copy the app files into the container
COPY . .

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