602 B
602 B
Ferris
This Dockerfile and image contains the essentials to build yew and webasm stuff.
Run
You can run it like this
docker run --rm -v /root/folder/of/website:/source ferris:latest
it will build it in release mode pr default.
Size
This image is large, but i have no idea how to boil it down because it needs cargo, trunk, wasm32-unknown-unknown etc. This suits my preferences just fine now: i have my own build server that resides on the same machine as the docker registry. Maybe it can be optimized by using a slim alpine image? If you have any ideas, please let me know.