When I had a dog & cat, the dog would come in and eat the cat poop so I got a little creative. I cleared out shelf space in my pantry, where the cat box was to begin with, but now it was on a shelf. Cat jumps up to use it, dog can't jump up on shelf. Problem solved. Or for me it was.

That litter box looks good, but if your puppy is small enough, he/she might be able to get in there too!

Good luck!!