Download Dockerfile from numshot/vps: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/numshot/vps/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/numshot/vps/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/numshot/vps/resolve/main/Dockerfile
457 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y openssh-server wget sudo python3 dos2unix | |
| RUN mkdir /var/run/sshd | |
| RUN wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb | |
| RUN dpkg -i cloudflared-linux-amd64.deb | |
| RUN useradd -m -s /bin/bash hfuser | |
| RUN usermod -aG sudo hfuser | |
| COPY start.sh /start.sh | |
| RUN dos2unix /start.sh | |
| RUN chmod +x /start.sh | |
| CMD ["/start.sh"] |