Download Dockerfile from VortexCr/My-RDP: direct link, hf CLI and curl.
- Browser
- Download file 877 Bytes
-
https://huggingface.co/spaces/VortexCr/My-RDP/resolve/88577ecb6099a36de745922ca02eaecaeee6a7b3/Dockerfile
- Command line
-
hf download hf://spaces/VortexCr/My-RDP@88577ecb6099a36de745922ca02eaecaeee6a7b3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/VortexCr/My-RDP/resolve/88577ecb6099a36de745922ca02eaecaeee6a7b3/Dockerfile
877 Bytes
| FROM debian:bullseye | |
| # Kurulum sırasında soru sorulmasını engelle | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # net-tools (netstat için) ve diğer gerekli paketleri kur | |
| RUN apt-get update && apt-get install -y \ | |
| xvfb \ | |
| x11vnc \ | |
| novnc \ | |
| net-tools \ | |
| python3-websockify \ | |
| python3-numpy \ | |
| xfce4 \ | |
| xfce4-terminal \ | |
| firefox-esr \ | |
| dbus-x11 \ | |
| procps \ | |
| curl \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| # Hugging Face kullanıcı ayarları | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| DISPLAY=:1 | |
| WORKDIR $HOME | |
| # Başlangıç komutu | |
| # --vnc localhost:5900 kısmını launch.sh için netleştirdik | |
| CMD ["sh", "-c", "Xvfb :1 -screen 0 1280x720x16 & sleep 2 && x11vnc -display :1 -nopw -forever -shared & /usr/share/novnc/utils/launch.sh --vnc localhost:5900 --listen 7860"] |