lachine commited on
Commit
c9bd518
·
verified ·
1 Parent(s): 91162bb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -9,7 +9,8 @@ RUN git clone https://github.com/novnc/noVNC.git noVNC
9
  RUN mkdir -p /home/user/.vnc
10
  RUN mkdir -p /hoome/user/Desktop/myshell
11
  RUN echo 1234 | vncpasswd -f > /home/user/.vnc/passwd
 
12
  ENV HOME=/home/user \
13
  PATH=/home/user/.local/bin:$PATH
14
  RUN mkdir -p /home/user/.Xauthority
15
- CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
 
9
  RUN mkdir -p /home/user/.vnc
10
  RUN mkdir -p /hoome/user/Desktop/myshell
11
  RUN echo 1234 | vncpasswd -f > /home/user/.vnc/passwd
12
+ RUN ngrok config add-authtoken 2LF0UeuZxH3eJ0XQByrNO8SF82v_67bfyD5SVw7vcMpJVGd2a
13
  ENV HOME=/home/user \
14
  PATH=/home/user/.local/bin:$PATH
15
  RUN mkdir -p /home/user/.Xauthority
16
+ CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860 && ngrok http localhost:7860 &&