DataFed
DataFed copied to clipboard
[Feature] - Dockerized version of Rust Server
Proposed Solution
Create a docker image that uses Cargo-chef to define a caching-optimized docker image for the Rust backend. It will pull in only the necessary files to determine which packages to install (Cargo.toml & Cargo.lock), download and cache the dependencies, then include the files to actually build the binary which will use the cached dependencies to speed up the builds drastically. This is necessary because Cargo is not yet optimized for automatically caching dependencies or even its dependency registry in image builds.