4 releases
new 0.1.3 | Oct 15, 2024 |
---|---|
0.1.2 | Oct 15, 2024 |
0.1.1 | Oct 15, 2024 |
0.1.0 | Oct 14, 2024 |
#322 in Command line utilities
683 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–26MB
~448K SLoC