The creation account is described in terms which would have been readily accepted by the people in the time it was recorded. The Genesis account has a cultural and historical context which no longer exists today. It has a great deal in common with many of the pagan creation myths and as I've pointed out before, severely limits the ability of God if you continue to interpret the Genesis account literally.
A literal interpretation posits a limited God who basically creates nothing more than a giant snow globe. A poetic interpretation is free to recognise the almost infinite majesty of creation by an infinite and all powerful God.
I'm going with an all powerful God who deigns to meet His creation at their level, whether that be His becoming man or His revealing things in a manner that the time and culture is able to accept. We know that the creation account is not literal because everything we observe runs counter to that. We know there is no dome because we have regularly sent craft deep into space. We know the moon orbits the earth because we have successfully sent craft there. We know the earth orbits the sun because we have placed spacecraft in the Lagrange points where the gravitational and centripetal forces cancel out, such as the Deep Space Climate Observatory and the James Webb Space Telescope.
All the things we observe are explained by the globe earth and its orbit around the sun. The seasons, the 24hr sunlight in the Antarctic Summer, the Coriolis Effect, the tides, the rotation of the night sky and the different stars visible in the Northern and Southern Hemispheres, solar and lunar eclipses, sunrise and sunset, ships disappearing over the horizon from the bottom up. All the above can be explained by the one model, while flat earthers cannot produce a single model which can explain all those different things. Rather they have one model to explain one thing and another model to explain another thing, but the different models conflict. Also, when people have written simulations based on flat earth claims, then nothing matches what we actually observe.
All flat earth claims are based on a deeply flawed understanding of Genesis.