FROM python:3.12-slim RUN apt-get update && \ apt-get install -y --no-install-recommends ffmpeg && \ rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir watchdog requests COPY watch.py /app/watch.py WORKDIR /app CMD ["python", "-u", "watch.py"]