Update novnc/Dockerfile

This commit is contained in:
myve 2024-07-19 23:37:43 +00:00
commit 3432d3be19

View file

@ -28,14 +28,7 @@ then
fi
# Read ssh client variables hostname and port (5900, 5901, 5902, etc)
if ssh ${MYVNC_VNCSSH_HOST} exit
then
ssh ${MYVNC_VNCSSH_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCSSH_PORT} &
else
echo "Unable to establish SSH tunnel."
echo "Exiting..."
exit 1
fi
ssh ${MYVNC_VNCSSH_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCSSH_PORT} &
01-init
# Reset user home directory