This is a simple Docker image for compiling rust wasm projects. The tag is the rustc version, ex: 1.70.0
.
docker run \
--rm -v \
$(pwd):/usr/src/myapp \
--workdir /usr/src/myapp \
dylanowen/wasm-pack:latest \
wasm-pack build
All the building happens automatically in Github Actions