Spaces:
Paused
Paused
| FROM debian:bullseye | |
| RUN apt update | |
| RUN apt install git -y | |
| RUN git clone https://github.com/theasp/docker-novnc | |
| RUN ls | |
| WORKDIR docker-novnc | |
| # Install git, supervisor, VNC, & X11 packages | |
| RUN set -ex; \ | |
| apt-get update; \ | |
| apt-get install -y \ | |
| bash \ | |
| fluxbox \ | |
| git \ | |
| net-tools \ | |
| novnc \ | |
| supervisor \ | |
| x11vnc \ | |
| xterm \ | |
| xvfb | |
| # 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_XTERM=yes \ | |
| RUN_FLUXBOX=yes | |
| COPY . /app | |
| CMD ["/app/entrypoint.sh"] | |
| EXPOSE 8080 |