Download Dockerfile from KitTheBit/HGS: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/KitTheBit/HGS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/KitTheBit/HGS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/KitTheBit/HGS/resolve/main/Dockerfile
364 Bytes
| # Use an official base image (e.g., Ubuntu) | |
| FROM ubuntu:20.04 | |
| # Set a working directory | |
| WORKDIR /app | |
| # Install curl | |
| RUN apt-get update && \ | |
| apt-get install -y curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Fetch and execute the installation script | |
| RUN curl -sSL instl.vercel.app/tgdrive/teldrive | bash | |
| COPY config.toml /app/config.toml | |
| CMD ["teldrive", "run"] |