A few facts of life are that wood moves and concrete cracks and you can't completely stop either one.
When we do frame and panel work we pre-stain the edges as mentioned above prior to assy. When that can't be done you try and lower the humidity to allow the panel to shrink slightly prior to staining. If you could time the building of the doors to the winter time they are the smallest they are going to be and wil swell in the other seasons eliminating the line.
If you purchase doors, as all of us have at one time, you area at the mercy of the wood and the seasons.
You can touchup as required once it shrinks but other than that there is no exact, permanent solution.
Good Luck,
Tom in PA