Before building, rename rust-toolchain.toml temporarily to something else, or else it likely won't build properly.
Make sure you have Docker installed and running. Next run the following command to build inside docker:
docker run -v %cd%:/volume --rm -t clux/muslrust:1.73.0-nightly-2023-07-30 cargo build --releaseor if you're on Linux:
docker run -v $PWD:/volume --rm -t clux/muslrust:1.73.0-nightly-2023-07-30 cargo build --releaseThe binary will be in target/x86_64-unknown-linux-musl/release/ and will be named zama-fileserver.
After you've confirmed that you have target/x86_64-unknown-linux-musl/release/zama-fileserver file, you can run it with:
docker-compose upAlso check out the experimental branch https://github.com/TheoXD/zama-fileserver/tree/experimental for an alternative solution that doesn't use Merkle Trees or blake3.