adriano1120 commited on
Commit
9386bb3
·
verified ·
1 Parent(s): b7c5567

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -14
Dockerfile CHANGED
@@ -1,14 +1,4 @@
1
- DE debian:sid
2
- EXECUTE apt update
3
- EXECUTE useradd -m -u 1000 usuários
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
- EXECUTE git clone https://github.com/novnc/noVNC.git noVNC
6
- EXECUTE mkdir -p /home/user/.vnc
7
- ARG VNC_PWD
8
- ARG VNC_RESOLUTION
9
- RUN --mount= tipo =secreto, id =VNC_PWD,mode=0444,required= true \
10
- cat /run/secrets/VNC_PWD | vncpasswd -f > /home/user/.vnc/passwd
11
- EXECUTE chmod -R 777 /home/user/.vnc /tmp
12
- ENV HOME=/home / usuário
13
- PATH=/home/ usuário /.local/bin:$ PATH
14
- CMD vncserver -SecurityTypes VncAuth -rfbauth /home/user/.vnc/passwd -geometry $VNC_RESOLUTION && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
 
1
+ FROM ghcr.io/eooce/firefox:latest
2
+ ENV PORT=7860
3
+ ENV VNC_PORT=5900
4
+ EXPOSE 7860 5900