MohammedAlakhras commited on
Commit
6e85bd2
·
verified ·
1 Parent(s): 4ce5e87

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +33 -33
Dockerfile CHANGED
@@ -1,33 +1,33 @@
1
- FROM ubuntu:20.04
2
-
3
- ENV DEBIAN_FRONTEND=noninteractive
4
-
5
- RUN apt-get update && apt-get install -y --fix-missing --assume-yes \
6
- tzdata \
7
- xfce4 xfce4-goodies \
8
- tightvncserver wget sudo curl python3 unzip xauth \
9
- --no-install-recommends && apt-get clean
10
-
11
- RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && dpkg-reconfigure --frontend noninteractive tzdata
12
-
13
- RUN useradd -m rdpuser && echo "rdpuser:123456" | chpasswd && adduser rdpuser sudo
14
-
15
- RUN wget --no-check-certificate https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip \
16
- && unzip ngrok-stable-linux-amd64.zip \
17
- && mv ngrok /usr/local/bin/
18
-
19
- RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
20
- && apt-get install -y ./google-chrome-stable_current_amd64.deb \
21
- && rm google-chrome-stable_current_amd64.deb
22
-
23
- RUN wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb \
24
- && apt-get install -y ./chrome-remote-desktop_current_amd64.deb \
25
- && rm chrome-remote-desktop_current_amd64.deb
26
-
27
-
28
- COPY app.py /app.py
29
- RUN chmod +x /app.py
30
-
31
- EXPOSE 5901
32
-
33
- CMD ["python3", "/app.py"]
 
1
+ FROM ubuntu:20.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+
5
+ RUN apt-get update && apt-get install -y --fix-missing --assume-yes \
6
+ tzdata \
7
+ xfce4 xfce4-goodies \
8
+ tightvncserver wget sudo curl python3 unzip xauth \
9
+ --no-install-recommends && apt-get clean
10
+
11
+ RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && dpkg-reconfigure --frontend noninteractive tzdata
12
+
13
+ RUN useradd -m rdpuser && echo "rdpuser:123456" | chpasswd && adduser rdpuser sudo
14
+
15
+ RUN wget --no-check-certificate https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip \
16
+ && unzip ngrok-stable-linux-amd64.zip \
17
+ && mv ngrok /usr/local/bin/
18
+
19
+ RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
20
+ && apt-get install -y ./google-chrome-stable_current_amd64.deb \
21
+ && rm google-chrome-stable_current_amd64.deb
22
+
23
+ RUN wget --no-check-certificate https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
24
+ && apt-get install -y ./google-chrome-stable_current_amd64.deb \
25
+ && rm google-chrome-stable_current_amd64.deb
26
+
27
+
28
+ COPY app.py /app.py
29
+ RUN chmod +x /app.py
30
+
31
+ EXPOSE 5901
32
+
33
+ CMD ["python3", "/app.py"]