I don't know anything about Alexa and little about docker but not responding after you close the ssh connection suggests that the process has been killed since it no longer has a terminal attached.
Without docker did you use systemctl start nodered or equivalent?
And with docker, what command did you use to start nodered (and any other processes)?