Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -33,8 +33,9 @@ RUN (gsettings set org.gnome.desktop.screensaver idle-activation-enabled false;
|
|
33 |
# RUN chmod -R o+r / 2>/dev/null; exit 0;
|
34 |
RUN hostname hf-server || echo 'failed to set hostname'
|
35 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
36 |
-
RUN mkdir -p /home/user/.vnc
|
37 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
|
|
38 |
RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
39 |
cat /run/secrets/VNC_PASSWORD | vncpasswd -f > /home/user/.vnc/passwd
|
40 |
ENV HOME=/home/user \
|
|
|
33 |
# RUN chmod -R o+r / 2>/dev/null; exit 0;
|
34 |
RUN hostname hf-server || echo 'failed to set hostname'
|
35 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
36 |
+
RUN mkdir -p /home/user/.vnc /tmp/.X11-unix
|
37 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
38 |
+
RUN chmod -R 1777 /tmp/.X11-unix
|
39 |
RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
40 |
cat /run/secrets/VNC_PASSWORD | vncpasswd -f > /home/user/.vnc/passwd
|
41 |
ENV HOME=/home/user \
|