How to Dockerize a ios mobile application using xcode and fastlane

we are currently building our cv-react-native ios mobile application through gitlab and geneating .ipa packages now we have to dockerize our applicaion for dev environment since we are new to docker any suggestions or any sample dockerfiles if someone would share will be highly appreciated so our manual process as below

build env —macos, build tool xcode,
npm install in respective folder
pod install in respetive folder
build the code usig xcode
then sign the application using fastlane and match then generating the packages(.ipa).

so can someone please suggest me how to dockerize the application with the above process.

Source: Docker Questions