| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV DISPLAY=:1 | |
| ENV PORT=7860 | |
| RUN apt-get update && apt-get install -y \ | |
| xfce4 \ | |
| xfce4-goodies \ | |
| tightvncserver \ | |
| novnc \ | |
| websockify \ | |
| supervisor \ | |
| net-tools \ | |
| wget \ | |
| curl \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN mkdir -p /root/.vnc | |
| RUN echo "root:root" | chpasswd | |
| COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
| EXPOSE 7860 | |
| CMD ["/usr/bin/supervisord"] |