Makefile & readme with usage command

This commit is contained in:
2022-10-14 00:59:59 +02:00
parent b565e0d0df
commit 4291276ff8
2 changed files with 18 additions and 0 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
build:
sudo docker build -t ghcr.io/kevinmidboe/cloudflare-speedtest --no-cache .
publish:
sudo docker push ghcr.io/kevinmidboe/cloudflare-speedtest

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
# Cloudflare speedtest from docker
Docker run a speedtest from https://speed.cloudflare.com using npm package [speed-cloudflare-cli](https://github.com/KNawm/speed-cloudflare-cli).
Mainly used to prevent having node installed on host.
# Run
To just run the speedtest and discard after usage run:
```bash
(sudo) docker run --rm ghcr.io/kevinmidboe/cloudflare-speedtest
```