vzakharchenko/rtsp-samsung-tv

Error when running using Docker

timofei-iatsenko opened this issue · 1 comments

Hey, i'm trying to run the server using command from docs:

docker run -d --name=rtsp-samsung-tv -p 3004:3004 --restart=always vassio/rtsp-samsung-tv:latest

But getting an error inside the container from PM2:

[PM2] PM2 Successfully daemonized
[PM2][ERROR] Script not found: /usr/lib/node_modules/rtsp-samsung-tv/server.js

I've inspected the Dockerfile and found that sources is copied into /opt/rtsp-samsung-tv/ but in entrypoint.sh you are trying to run it from global node_modules folder which is /usr/lib/node_modules in my case.

Am i missing something or there an error in configuration?

Also found another issue, channel.html is trying to open a connection to 9999 (+n) ports depending on how many cameras setup. But docker container exposing (as stated in docs) only 3004 port.