crystal99 commited on
Commit
d600739
·
verified ·
1 Parent(s): ad92925

Update app.sh

Browse files
Files changed (1) hide show
  1. app.sh +4 -5
app.sh CHANGED
@@ -1,11 +1,10 @@
1
  #!/bin/bash
2
 
3
- # Start VNC server
4
  vncserver :1 -geometry 1280x800 -depth 24
5
 
6
- # Start websockify for noVNC
7
- /noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 7860 &
8
- echo "noVNC started at http://localhost:7860"
9
 
10
- # Prevent container from exiting
11
  tail -f /dev/null
 
1
  #!/bin/bash
2
 
3
+ echo "▶️ Starting VNC server..."
4
  vncserver :1 -geometry 1280x800 -depth 24
5
 
6
+ echo "▶️ Launching noVNC proxy on :7860"
7
+ websockify --web=/usr/share/novnc/ 7860 localhost:5901 &
 
8
 
9
+ # Keep the container alive
10
  tail -f /dev/null