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"]