Database migrations are not executed during the Docker image build phase; synchronization occurs after container startup and application process startup.
Please note that these suggestions are based on my personal preferences and experience, for reference only.