Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,9 +8,9 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|
8 |
RUN apt-get update && \
|
9 |
apt-get install -y xfce4 xfce4-goodies tightvncserver novnc websockify && \
|
10 |
apt-get clean
|
11 |
-
|
12 |
# Expose ports for noVNC
|
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"]
|
|
|
8 |
RUN apt-get update && \
|
9 |
apt-get install -y xfce4 xfce4-goodies tightvncserver novnc websockify && \
|
10 |
apt-get clean
|
11 |
+
RUN chmod +777 /home/ubuntu
|
12 |
# Expose ports for noVNC
|
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"]
|