FROM ubuntu:bionic # Install git, supervisor, VNC, & X11 packages RUN set -ex; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; \ apt-get install -y \ xfce4 vnc4server xfce4-terminal supervisor novnc # Setup demo environment variables ENV HOME=/root \ DEBIAN_FRONTEND=noninteractive \ LANG=en_US.UTF-8 \ LANGUAGE=en_US.UTF-8 \ LC_ALL=C.UTF-8 \ DISPLAY=:0.0 \ DISPLAY_WIDTH=1024 \ DISPLAY_HEIGHT=768 RUN apt-get install -y \ language-pack-zh-hans \ fonts-droid-fallback \ ttf-wqy-zenhei \ ttf-wqy-microhei \ fonts-arphic-ukai \ fonts-arphic-uming COPY . /app COPY xstartup /root/.vnc/xstartup COPY passwd /root/.vnc/passwd CMD ["/app/entrypoint.sh"] EXPOSE 8080 EXPOSE 5900