Download Dockerfile from proti0070/Vps2: direct link, hf CLI and curl.
- Browser
- Download file 607 Bytes
-
https://huggingface.co/spaces/proti0070/Vps2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/proti0070/Vps2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/proti0070/Vps2/resolve/main/Dockerfile
607 Bytes
| FROM kalilinux/kali-rolling | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV HOSTNAME=xro | |
| # ---- Base packages ---- | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| curl \ | |
| wget \ | |
| git \ | |
| sudo \ | |
| htop \ | |
| btop \ | |
| neovim \ | |
| lsof \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # ---- Install code-server (VSCode in browser) ---- | |
| RUN curl -fsSL https://code-server.dev/install.sh | sh | |
| # ---- Verify install ---- | |
| RUN code-server --version | |
| # ---- Workspace ---- | |
| WORKDIR /workspace | |
| EXPOSE 7860 | |
| CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"] |