You are focusing on the wrong thing.

You must teach the dog that it is RIGHT to go outside. You will never accomplish anything by punishing her for eliminating indoors except to cause her to do two things, which she is probably already doing:

1) hide to eliminate, and
2) refuse to eliminate in your presence

This puppy should be HUGELY rewarded for every one of her early morning bowel movements, and yes, she should be confined and closely supervised so someone can whisk her outside when it is time for her to go.

Most dogs have bowel movements at fairly predictable times, so choose that time to take her on a brisk active 30-45 minute walk. If she does not eliminate during this time, crate her for an hour, and go again.

You must use your primate brain to put the dog in the position of defecating outdoors, and when she does, you must HANDSOMELY reward her. At the same time, you must prevent her opportunities for defecation indoors. Stop the punishing, scolding, and etc, it won't get you anywhere.