Testing R2 from Pages

I'm running my Cloudflare Pages app locally using wrangler pages dev
I have R2 instances for preview and production, but locally in dev it uses a version that wrangler is running in the .wrangler/state/v3/r2 folder.
However, the other part of my app runs on a container, and I need to get hold of the R2 files on there to test functionality before deploying.
I don't want to have to deploy my whole architecture to test it, so it'd be great if I could get my Pages app to talk to the preview remote R2

I noticed that wrangler dev has a --remote option, but Pages doesn't
Any ideas how I get around this?
Was this page helpful?