Dockerfile 590 B

12345678910111213141516171819202122232425262728293031
  1. FROM debian:stretch
  2. # Setup demo environment variables
  3. ENV HOME=/root \
  4. DEBIAN_FRONTEND=noninteractive \
  5. LANG=en_US.UTF-8 \
  6. LANGUAGE=en_US.UTF-8 \
  7. LC_ALL=C.UTF-8 \
  8. DISPLAY=:0.0 \
  9. DISPLAY_WIDTH=1024 \
  10. DISPLAY_HEIGHT=768
  11. # Install git, supervisor, VNC, & X11 packages
  12. RUN set -ex; \
  13. apt-get update; \
  14. apt-get install -y \
  15. bash \
  16. fluxbox \
  17. git \
  18. net-tools \
  19. novnc \
  20. socat \
  21. supervisor \
  22. x11vnc \
  23. xterm \
  24. xvfb
  25. COPY . /app
  26. CMD ["/usr/bin/supervisord", "-c", "/app/supervisord.conf"]
  27. EXPOSE 8080