Download Dockerfile from proti0070/vscode: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/proti0070/vscode/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/proti0070/vscode/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/proti0070/vscode/resolve/main/Dockerfile
493 Bytes
| FROM kalilinux/kali-rolling | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt update && apt install -y \ | |
| curl \ | |
| git \ | |
| sudo \ | |
| python3 \ | |
| python3-pip \ | |
| nodejs \ | |
| npm \ | |
| wget \ | |
| build-essential | |
| # install code-server | |
| RUN curl -fsSL https://code-server.dev/install.sh | sh | |
| # create user | |
| RUN useradd -m kali && echo "kali ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
| USER kali | |
| WORKDIR /home/kali | |
| EXPOSE 7860 | |
| CMD ["code-server","--bind-addr","0.0.0.0:7860","--auth","none"] |