Bitwarden CLI utilities are installed via npm in the dockerfile for platform independence. Since npm is so heavy, it would be better to use conditional logic (like in the golang docker image: https://github.com/docker-library/golang/blob/4fa4888b25307c734ed4bbda6ce68549b7d9dbdc/1.13/buster/Dockerfile#L17) to install the bw binaries directly for amd64 and to use npm for arm64.
Bitwarden CLI utilities are installed via npm in the dockerfile for platform independence. Since npm is so heavy, it would be better to use conditional logic (like in the golang docker image: https://github.com/docker-library/golang/blob/4fa4888b25307c734ed4bbda6ce68549b7d9dbdc/1.13/buster/Dockerfile#L17) to install the bw binaries directly for amd64 and to use npm for arm64.