FROM python:3.9-slim # Install dependencies RUN apt-get update && apt-get install -y \ libopencv-dev \ python3-opencv \ && rm -rf /var/lib/apt/lists/* # Install Python packages RUN pip install --no-cache-dir \ paho-mqtt \ requests \ numpy # Copy the dayglo detector script COPY dayglo_detector.py /app/dayglo_detector.py WORKDIR /app CMD ["python", "dayglo_detector.py"]