hckvps commited on
Commit
aa2ceb6
·
verified ·
1 Parent(s): 3823b1b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM debian:latest
3
 
4
  # Set non-interactive mode
5
  ENV DEBIAN_FRONTEND=noninteractive
6
-
7
  # Install necessary packages
8
  RUN apt-get update && \
9
  apt-get install -y xfce4 xfce4-goodies tightvncserver novnc websockify && \
@@ -13,4 +13,4 @@ RUN chmod +777 /home/ubuntu
13
  EXPOSE 6080
14
 
15
  # Start the VNC server and noVNC
16
- CMD ["sh", "-c", "USER=ubuntu vncserver :1 -geometry 1280x720 -depth 24 && websockify --web=/usr/share/novnc/ 6080 localhost:5901"]
 
3
 
4
  # Set non-interactive mode
5
  ENV DEBIAN_FRONTEND=noninteractive
6
+ RUN ls /home && exit
7
  # Install necessary packages
8
  RUN apt-get update && \
9
  apt-get install -y xfce4 xfce4-goodies tightvncserver novnc websockify && \
 
13
  EXPOSE 6080
14
 
15
  # Start the VNC server and noVNC
16
+ CMD ["sh", "-c", "vncserver :1 -geometry 1280x720 -depth 24 && websockify --web=/usr/share/novnc/ 6080 localhost:5901"]