FROM ubuntu:latest # Install necessary packages RUN apt-get update && apt-get install -y \ xfce4 \ xfce4-goodies \ tightvncserver \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Set up a VNC password (change 'your_password' to your desired password) RUN mkdir ~/.vnc && echo "nehajignesh" | vncpasswd -f > ~/.vnc/passwd && chmod 600 ~/.vnc/passwd # Expose VNC port EXPOSE 7860 RUN hostname -I # Start VNC server when the container launches CMD ["vncserver", "-localhost", "-geometry", "1280x720", ":0"]