imo this is messy
# Anchor and avm have a really weird relationship atm - so its complicated to just use an anchor binary
COPY --from=build-anchor /usr/local/cargo/bin/avm /usr/local/cargo/bin/anchor /usr/local/bin
COPY --from=build-anchor /root/.avm /root/.avm
imo none of avm or /root/.avm/ should be necessary if the anchor binary is functional
(its possible that the /root/.avm/bin/anchor-0.24.2 binary is the one that should be copied - I didn't look into this gift horse.