Spaces:
Running
Running
tuts4y0u
commited on
Commit
•
6f5bd3b
1
Parent(s):
2be8ed8
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -9,7 +9,7 @@ RUN git clone https://github.com/novnc/noVNC.git noVNC
|
|
9 |
RUN mkdir -p /home/user/.vnc
|
10 |
ARG VNC_RESOLUTION
|
11 |
RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
12 |
-
echo 'user:$(cat /run/secrets/VNC_PASSWORD)' | chpasswd
|
13 |
cat /run/secrets/VNC_PASSWORD | vncpasswd -f > /home/user/.vnc/passwd
|
14 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
15 |
ENV HOME=/home/user \
|
|
|
9 |
RUN mkdir -p /home/user/.vnc
|
10 |
ARG VNC_RESOLUTION
|
11 |
RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
12 |
+
echo 'user:$(cat /run/secrets/VNC_PASSWORD)' | chpasswd && \
|
13 |
cat /run/secrets/VNC_PASSWORD | vncpasswd -f > /home/user/.vnc/passwd
|
14 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
15 |
ENV HOME=/home/user \
|