Update novnc/Dockerfile

This commit is contained in:
myve 2024-07-19 23:26:42 +00:00
commit 529f4491a9

View file

@ -30,7 +30,7 @@ fi
# Read ssh client variables hostname and port (5900, 5901, 5902, etc)
if ssh ${MYVNC_VNCCLIENT_HOST} exit
then
ssh ${MYVNC_VNCCLIENT_HOST} -L ${MYVNC_VNCSERVER_PORT:-5900}:localhost:${MYVNC_VNCCLIENT_PORT} &
ssh ${MYVNC_VNCCLIENT_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCCLIENT_PORT} &
else
echo "Unable to establish SSH tunnel."
echo "Exiting..."