Download Dockerfile from hckvps/TestA: direct link, hf CLI and curl.
- Browser
- Download file 657 Bytes
-
https://huggingface.co/spaces/hckvps/TestA/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hckvps/TestA/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hckvps/TestA/resolve/main/Dockerfile
657 Bytes
| FROM ubuntu:latest | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV PACKAGES="lxde aqemu aria2 qemu-system-x86 htop tigervnc-standalone-server python3-pip python3-websockify python3 git" | |
| RUN apt-get update && apt-get install -y $PACKAGES | |
| RUN git clone https://github.com/novnc/noVNC.git /home/user/noVNC | |
| RUN useradd -m -u 1000 user && usermod -aG sudo user && echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user | |
| RUN sudo chown -R user /home/user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH | |
| CMD vncserver -SecurityTypes None -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860 |