File size: 451 Bytes
8ae8a7b
0a0e80c
8ae8a7b
 
0a0e80c
8ae8a7b
 
 
 
 
 
 
8be1d60
8ae8a7b
 
 
0a0e80c
8ae8a7b
 
 
0a0e80c
8ae8a7b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:20.04

# Disable interactive apt
ENV DEBIAN_FRONTEND=noninteractive

# Install XFCE + VNC + noVNC
RUN apt-get update && apt-get install -y \
    xfce4 xfce4-goodies \
    novnc websockify \
    x11vnc xvfb \
    wget curl git net-tools \
    && apt-get clean

# Setup noVNC
RUN mkdir -p /root/.vnc
RUN x11vnc -storepasswd 1234 /root/.vnc/passwd

# Start script
COPY start.sh /start.sh
RUN chmod +x /start.sh

EXPOSE 8080
CMD ["/start.sh"]