Call build_and_upload_locally instead of dx_build_app.main().