Use busybox:musl to save a couple more MB

Yay for tiny Linux userspaces.
This commit is contained in:
2025-09-04 09:29:07 -05:00
parent 6b7692cf78
commit d808bda765

View File

@@ -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