THED1 commited on
Commit
1e83bbd
·
verified ·
1 Parent(s): 93d96db

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -5
Dockerfile CHANGED
@@ -1,19 +1,28 @@
1
  FROM ubuntu:22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
 
 
4
 
5
  RUN apt-get update && apt-get install -y \
6
- xfce4 xfce4-goodies \
 
7
  tigervnc-standalone-server \
8
- novnc websockify \
9
- wget curl supervisor \
 
 
 
 
10
  && apt-get clean
11
 
12
  RUN mkdir -p /root/.vnc
13
- RUN echo "password" | vncpasswd -f > /root/.vnc/passwd
14
- RUN chmod 600 /root/.vnc/passwd
 
15
 
16
  COPY start.sh /start.sh
 
17
  RUN chmod +x /start.sh
18
 
19
  EXPOSE 7860
 
1
  FROM ubuntu:22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
+ ENV DISPLAY=:1
5
+ ENV PORT=7860
6
 
7
  RUN apt-get update && apt-get install -y \
8
+ xfce4 \
9
+ xfce4-terminal \
10
  tigervnc-standalone-server \
11
+ tigervnc-common \
12
+ novnc \
13
+ websockify \
14
+ wget \
15
+ curl \
16
+ net-tools \
17
  && apt-get clean
18
 
19
  RUN mkdir -p /root/.vnc
20
+
21
+ RUN echo "123456" | vncpasswd -f > /root/.vnc/passwd && \
22
+ chmod 600 /root/.vnc/passwd
23
 
24
  COPY start.sh /start.sh
25
+
26
  RUN chmod +x /start.sh
27
 
28
  EXPOSE 7860