Spaces:
Build error
Build error
Download Dockerfile from Alao/space: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/Alao/space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Alao/space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Alao/space/resolve/main/Dockerfile
544 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 \ | |
| && wget https://github.com/indigo-dc/udocker/releases/download/1.3.13/udocker-1.3.13.tar.gz \ | |
| && tar zxvf udocker-1.3.13.tar.gz \ | |
| && export PATH=`pwd`/udocker-1.3.13/udocker:$PATH \ | |
| && chown -R user /home/* | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| CMD ./run.sh & python3 -m http.server 7860 |