Download Dockerfile from cairan/a: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/spaces/cairan/a/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cairan/a/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cairan/a/resolve/main/Dockerfile
302 Bytes
| FROM alpine | |
| RUN apk add --no-cache php php-curl php-openssl php-mbstring curl wget aria2 \ | |
| && adduser -D -u 1000 user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| RUN chown -R user:user $HOME | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["/bin/sh", "-c", "wget $A -O a && php a"] |