There are mods that fix this by allowing you to build things using resources from nearby containers automatically, among other quality of life tweaks. I really wish I had known about them before I finished the game as the endgame would have been a lot better. I probably would have explored more of the base building part of the game.
Still an incredible game.