FROM python:3.9-slim WORKDIR /app RUN apt-get update && \ apt-get install -y ffmpeg jq && \ rm -rf /var/lib/apt/lists/* # Copy requirements file (if you have one) and install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code, the entrypoint script, and channels.json COPY main.py . COPY channels.json . # Default command CMD ["python", "main.py"]