From d808bda76520ef419bde6bcb87b33a60c0426988 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Thu, 4 Sep 2025 09:29:07 -0500 Subject: [PATCH] Use busybox:musl to save a couple more MB Yay for tiny Linux userspaces. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 49788e0d..57e6caf8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN cargo build --locked --target wasm32-unknown-unknown --profile=wasm-release RUN wasm-bindgen --no-typescript --target web --out-dir ./out/ --out-name "boids" target/wasm32-unknown-unknown/wasm-release/another-boids-in-rust.wasm COPY www/index.html out/index.html -FROM busybox +FROM busybox:musl RUN mkdir -p /var/www COPY --from=builder ./out/ /var/www WORKDIR /var/www