Files
frigate/dayglo_detector/Dockerfile
T
2024-10-20 13:05:00 +11:00

22 lines
398 B
Docker

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"]