Not the perfect solution, but you can use Mendix Team Server as main repo with git configured instead of svn.
Then you can have a pipeline that mirrors/copies everything on Team Server Git to Azure Repos or Bitbucket, and have it run daily or in any desired interval of time.
It’s not possible to configure studio pro to manage mendix files in other structure than the default. Therefore your best bet is to change your Dockerfile to meet the requirements. So your directory structure must be:
- Dockerfile
- docker-buildpack/ (ideally have this directory injected during CI pipeline run)
- myapp.mpr
- theme/
….