The dissipation generated during a quasistatic thermodynamic process can be characterised by introducing a metric on the space of Gibbs states, in such a way that minimally-dissipating protocols correspond to geodesic trajectories. Here, we show how to generalize this approach to open quantum systems by finding the thermodynamic metric associated to a given Lindblad master equation. The obtained metric can be understood as a perturbation over the background geometry of equilibrium Gibbs states, which is induced by the Kubo-Mori-Bogoliubov (KMB) inner product. We illustrate this construction on two paradigmatic examples: an Ising chain and a two-level system interacting with a bosonic bath with different spectral densities.