DVR-Scan icon indicating copy to clipboard operation
DVR-Scan copied to clipboard

Docker installation

Open roycw opened this issue 11 months ago • 1 comments

Trying to run the docker file from the repo, getting issues across the board. trying to remove dependencies for graphics etc didnt help. Per the author instructions opening an issue here to see if anyone can help running the tool in a docker env. Ideally will just add it to another image running other tools.

roycw avatar Mar 03 '25 15:03 roycw

solved FROM ubuntu:latest

Set the environment to non-interactive

ENV DEBIAN_FRONTEND=noninteractive

Install dependencies

RUN apt-get update && apt-get install -y python3 python3-pip libgl1 libglib2.0-0

Install the Python dependencies (with --break-system-packages)

RUN pip3 install --break-system-packages dvr-scan[opencv]

Set the working directory

WORKDIR /video/

Entry point

ENTRYPOINT ["dvr-scan"]

roycw avatar Mar 14 '25 19:03 roycw