Download Dockerfile from hckvps/XFCE-RDP: direct link, hf CLI and curl.
- Browser
- Download file 515 Bytes
-
https://huggingface.co/spaces/hckvps/XFCE-RDP/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hckvps/XFCE-RDP/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hckvps/XFCE-RDP/resolve/main/Dockerfile
515 Bytes
| # Use a base Debian image | |
| FROM debian:latest | |
| # Set non-interactive mode | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN chmod +777 /* | |
| # Install necessary packages | |
| RUN apt-get update && \ | |
| apt-get install -y xfce4 xfce4-goodies tightvncserver novnc websockify && \ | |
| apt-get clean | |
| RUN chmod +777 /root | |
| RUN chmod +777 / | |
| # Expose ports for noVNC | |
| EXPOSE 6080 | |
| # Start the VNC server and noVNC | |
| CMD ["sh", "-c", "USER=root vncserver :1 -geometry 1280x720 -depth 24 && websockify --web=/usr/share/novnc/ 6080 localhost:5901"] |