Spaces:
Building
Building
tuts4y0u
commited on
Commit
•
1706dc9
1
Parent(s):
7e740d9
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,8 +5,8 @@ RUN apt install xfce4-terminal lxde aqemu sudo curl wget aria2 qemu-system-x86 h
|
|
5 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
6 |
RUN mkdir -p /home/user/.vnc
|
7 |
ARG VNC_RESOLUTION
|
8 |
-
RUN --mount=type=secret,id=
|
9 |
-
cat /run/secrets/
|
10 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|
|
|
5 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
6 |
RUN mkdir -p /home/user/.vnc
|
7 |
ARG VNC_RESOLUTION
|
8 |
+
RUN --mount=type=secret,id=VNC_PASSWORD,mode=0444,required=true \
|
9 |
+
cat /run/secrets/VNC_PASSWORD | vncpasswd -f > /home/user/.vnc/passwd
|
10 |
RUN chmod -R 777 /home/user/.vnc /tmp
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|