dracoox commited on
Commit
610df95
·
verified ·
1 Parent(s): fda183a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -25
Dockerfile CHANGED
@@ -1,29 +1,11 @@
1
- # This is Lechcher's VPS on Hugging face or OpenXLab! (Lxde version)
2
  FROM debian:sid
3
-
4
- # This is user's part:
5
- RUN useradd -m -u 1000 user
6
-
7
- # Upgrade and update your system:
8
  RUN apt update
9
- RUN apt install software-properties-common apt-transport-https curl -y
10
-
11
- # This is desktop environment and dependents part:
12
- 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 && rm -rf /var/lib/apt/lists/*
13
-
14
- # This is set default graphical target:
15
- RUN systemctl get-default
16
- RUN systemctl set-default graphical.target
17
-
18
- # Emable 32bit support:
19
- RUN dpkg --add-architecture i386
20
-
21
- # This is part that you can install your apps by: RUN apt install <repositories>:
22
-
23
- # This is VNC viewer part:
24
- RUN git clone https://github.com/novnc/noVNC.git noVNC
25
  ENV HOME=/home/user \
26
  PATH=/home/user/.local/bin:$PATH
27
-
28
- # This is the command to run VPS:
29
- CMD vncserver -SecurityTypes None -geometry 1280x600 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860
 
 
1
  FROM debian:sid
 
 
 
 
 
2
  RUN apt update
3
+ RUN useradd -m -u 1000 user
4
+ RUN apt install wget curl sudo git curl -y
5
+ RUN git clone https://github.com/dyl...​ /opt/neofetch && \
6
+ ln -s /opt/neofetch/neofetch /usr/local/bin/neofetch
7
+ RUN curl -fsSL https://code-server.de...​ | sh -s -- --dry-run
8
+ RUN curl -fsSL https://code-server.de...​ | sh
 
 
 
 
 
 
 
 
 
 
9
  ENV HOME=/home/user \
10
  PATH=/home/user/.local/bin:$PATH
11
+ CMD code-server --auth none --bind-addr 0.0.0.0:7860