5 releases
new 0.1.4 | Oct 25, 2024 |
---|---|
0.1.3 | Oct 15, 2024 |
0.1.2 | Oct 15, 2024 |
0.1.1 | Oct 15, 2024 |
0.1.0 | Oct 14, 2024 |
#343 in Command line utilities
577 downloads per month
12KB
Serve folder like CDN
Installation
cargo install cdn
Run
cdn
# Static will be served at 0.0.0.0:8080
Using it with docker
Docker is based on distroless/cc-debian12
FROM ghcr.io/mashanz/cdn:latest AS runner
WORKDIR /static
COPY . .
ENTRYPOINT ["cdn"]
Dependencies
~15–25MB
~449K SLoC