06254e95a3453b9cde21e9ec483e63a6b5c36751
Multi-stage build: rust:1-slim-bookworm to compile (needs a recent toolchain per smarm/urus's MSRV), then a distroless/cc runtime image since the binary only links against glibc/libgcc/libm (checked via ldd) - no shell or package manager needed at runtime, ~27MB vs ~87MB for a debian-slim runtime. - CCC_DB_PATH defaults to /data/cdn.db in-container - docker-compose.yml persists /data in a named volume, maps 8333
C3 - Cached Content Conduit
My super simple CDN built for distributing my own (text) content.
Languages
Rust
94.2%
Python
4.5%
Dockerfile
1.3%