Download Dockerfile from CineMax/sss: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/CineMax/sss/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CineMax/sss/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CineMax/sss/resolve/main/Dockerfile
482 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| xfce4 xfce4-goodies \ | |
| x11vnc xvfb \ | |
| novnc websockify \ | |
| curl wget sudo \ | |
| xrdp \ | |
| net-tools \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| # Crear usuario RDP | |
| RUN useradd -m -s /bin/bash RDP && \ | |
| adduser RDP sudo && \ | |
| echo "RDP ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 7860 | |
| CMD ["/start.sh"] |