I'd fasten whatever you use to box it in to the wall with pin hinges.
or
that way no tools are needed top remove it from the wall for better access. that way you can keep the cupboard small without impeding future maintenance.
or
that way no tools are needed top remove it from the wall for better access. that way you can keep the cupboard small without impeding future maintenance.