Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +28 -1
Dockerfile
CHANGED
@@ -5,4 +5,31 @@ RUN apt install git -y
|
|
5 |
RUN git clone https://github.com/theasp/docker-novnc
|
6 |
RUN ls
|
7 |
WORKDIR docker-novnc
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
RUN git clone https://github.com/theasp/docker-novnc
|
6 |
RUN ls
|
7 |
WORKDIR docker-novnc
|
8 |
+
# Install git, supervisor, VNC, & X11 packages
|
9 |
+
RUN set -ex; \
|
10 |
+
apt-get update; \
|
11 |
+
apt-get install -y \
|
12 |
+
bash \
|
13 |
+
fluxbox \
|
14 |
+
git \
|
15 |
+
net-tools \
|
16 |
+
novnc \
|
17 |
+
supervisor \
|
18 |
+
x11vnc \
|
19 |
+
xterm \
|
20 |
+
xvfb
|
21 |
+
|
22 |
+
# Setup demo environment variables
|
23 |
+
ENV HOME=/root \
|
24 |
+
DEBIAN_FRONTEND=noninteractive \
|
25 |
+
LANG=en_US.UTF-8 \
|
26 |
+
LANGUAGE=en_US.UTF-8 \
|
27 |
+
LC_ALL=C.UTF-8 \
|
28 |
+
DISPLAY=:0.0 \
|
29 |
+
DISPLAY_WIDTH=1024 \
|
30 |
+
DISPLAY_HEIGHT=768 \
|
31 |
+
RUN_XTERM=yes \
|
32 |
+
RUN_FLUXBOX=yes
|
33 |
+
COPY . /app
|
34 |
+
CMD ["/app/entrypoint.sh"]
|
35 |
+
EXPOSE 8080
|