crystal99 commited on
Commit
27d2a44
·
verified ·
1 Parent(s): 5dc43f1

Rename app.py to app.sh

Browse files
Files changed (2) hide show
  1. app.py +0 -4
  2. app.sh +11 -0
app.py DELETED
@@ -1,4 +0,0 @@
1
- from screenenv import ScreenEnv
2
-
3
- # Create virtual desktop instance with GUI
4
- app = ScreenEnv()
 
 
 
 
 
app.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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