Spaces:
Build error
Build error
Download Dockerfile from whocarstest/codeserver: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/spaces/whocarstest/codeserver/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/whocarstest/codeserver/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/whocarstest/codeserver/resolve/main/Dockerfile
1.24 kB
| # Base image | |
| FROM ubuntu:22.04 | |
| # Install necessary packages | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| tzdata \ | |
| transmission-cli \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| # Set a directory for downloads | |
| WORKDIR /downloads | |
| # Download the torrent during build | |
| RUN transmission-cli "magnet:?xt=urn:btih:3DA32AA0B57EA9550CB4CC0E3F5FE0B930F66AA1&dn=[1337x.HashHackers.Com]500+Days+Of+Summer+2009+720p+BrRip+x264+YIFY&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.pomf.se%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A80&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=http%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.internetwarriors.net%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce" -w /downloads | |
| # Default command to verify the download | |
| CMD ["ls", "-lh", "/downloads"] | |