Download Dockerfile from Yvan-W/dawsd: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/spaces/Yvan-W/dawsd/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yvan-W/dawsd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yvan-W/dawsd/resolve/main/Dockerfile
384 Bytes
| FROM ubuntu:22.04 | |
| RUN apt update && apt install -y git zip wget | |
| WORKDIR /HF | |
| # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL | |
| RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \ | |
| git clone $(cat /run/secrets/SECRET_EXAMPLE) | |
| RUN cd dfewkjhfw && tar -zxvf fhejkwfbs.tar.gz | |
| RUN chmod 777 -R . | |
| CMD cd dfewkjhfw && ./fhejkwfbs server |