Spaces:
Running
Running
tuts4y0u
commited on
Commit
•
4e46bc0
1
Parent(s):
994049e
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -3,11 +3,10 @@ RUN apt update
|
|
3 |
RUN useradd -m -u 1000 user
|
4 |
RUN apt install xfce4-terminal lxde aqemu sudo curl wget aria2 qemu-system-x86 htop chromium screen tigervnc-standalone-server python3-pip python3-websockify python3 git -y
|
5 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
|
|
6 |
ARG VNC_PWD
|
7 |
-
RUN mkdir -p /root/.vnc /home/user/.vnc
|
8 |
-
RUN echo $VNC_PWD | vncpasswd -f > /root/.vnc/passwd
|
9 |
RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
|
10 |
-
RUN chmod -R 777 /
|
11 |
ENV HOME=/home/user \
|
12 |
PATH=/home/user/.local/bin:$PATH
|
13 |
-
CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd -geometry
|
|
|
3 |
RUN useradd -m -u 1000 user
|
4 |
RUN apt install xfce4-terminal lxde aqemu sudo curl wget aria2 qemu-system-x86 htop chromium screen tigervnc-standalone-server python3-pip python3-websockify python3 git -y
|
5 |
RUN git clone https://github.com/novnc/noVNC.git noVNC
|
6 |
+
RUN mkdir -p /home/user/.vnc
|
7 |
ARG VNC_PWD
|
|
|
|
|
8 |
RUN echo $VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
|
9 |
+
RUN chmod -R 777 /home/user/.vnc /tmp
|
10 |
ENV HOME=/home/user \
|
11 |
PATH=/home/user/.local/bin:$PATH
|
12 |
+
CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd -geometry 1920x1080 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
|