I must set ENV HOST=0.0.0.0 in Dockerfile.
Or run -it --rm -p 1234:1234 -e HOST=0.0.0.0 --name y-websocket y-websocket.
Node server can not be visitied if this host is localhost or 127.0.0.1 in docker.
I suggest add this line "ENV HOST=0.0.0.0" in the dockerfile of the repository.
I must set ENV HOST=0.0.0.0 in Dockerfile. Or run -it --rm -p 1234:1234 -e HOST=0.0.0.0 --name y-websocket y-websocket. Node server can not be visitied if this host is localhost or 127.0.0.1 in docker. I suggest add this line "ENV HOST=0.0.0.0" in the dockerfile of the repository.