Download Dockerfile from piyaka/NetData: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/piyaka/NetData/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/piyaka/NetData/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/piyaka/NetData/resolve/main/Dockerfile
419 Bytes
| FROM ubuntu:22.04 | |
| # Install dependencies | |
| RUN apt update && apt install -y curl wget sudo bash net-tools procps | |
| # Download and install Netdata | |
| RUN wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh && \ | |
| sh /tmp/netdata-kickstart.sh --dont-wait --disable-telemetry | |
| # Expose the Space port | |
| EXPOSE 7860 | |
| # Start Netdata in foreground on port 7860 | |
| CMD ["/usr/sbin/netdata", "-D", "-p", "7860"] | |