Public | Automated Build

Last pushed: 6 months ago
Short Description
Docker image for NodeJS with OpenCV with support for EdgeJS Edit Add topics
Full Description

docker-node-edge-opencv

Docker image for NodeJS with OpenCV with support for EdgeJS

Quickstart

  • In your shell:
docker pull aurlaw/docker-node-edge-opencv:latest
docker run --name test_opencv -it aurlaw/docker-node-edge-opencv:latest /bin/bash
  • In your Dockerfile:
FROM aurlaw/docker-node-edge-opencv:latest

Usage with docker-compose

# https://docs.docker.com/compose/yml/

version: '2'
services:
  backend:
    image: aurlaw/docker-node-edge-opencv:latest
    container_name: test_opencv
    command: "node lib"
    # command: "/usr/local/bin/npm install --verbose"
    working_dir: /srv/node
    environment:
      - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/opencv/build/libdocke
      - NODE_ENV=production
    expose:
      - "3000"
    volumes:
      - .:/srv/node
      - /usr/lib/beignet:/usr/lib/beignet:ro
    devices:
      - "/dev/video0:/dev/video0"
      - "/dev/dri/card0:/dev/dri/card0"
docker-compose up -d

Latest tagged releases

You can find the latest available tags at hub.docker.com

  • aurlaw/docker-node-edge-opencv:latest

Links

Docker Pull Command
Owner
aurlaw
Source Repository

Comments (0)