_astro/image.somerandomID123.webp straight away and uses this instead

Cloudflare Pages is for static content (HTML, CSS, JS, images and other such files). It will not run a webserver such as Express, Koa or the likes. If you're using those to serve static content then you can just remove that part and use Pages!
If you're doing more dynamic content you can use Functions (https://developers.cloudflare.com/pages/platform/functions). It will run code on request (so still not a webserver in the conventional sense). This would allow for more dynamic content though especially with KV (Key Value storage) and Durable Objects (transactional data storage). Functions are natively integrated with Pages so are super easy to get up and running along your website.
Otherwise, a good old VPS or dedicated server from one of the many hosts out there is for you.
wrangler login nor wrangler deploy. Getting That's coz of ongoing incident?Expired! Auth code or refresh token needs to be renewed.
Currently, this setup is only supported when using Cloudflare DNS.https://developers.cloudflare.com/pages/how-to/custom-branch-aliases/
If you attempt to follow this guide using an external DNS provider, your custom alias will be sent to the production branch of your Pages project.
_astro/image.somerandomID123.webpwrangler loginwrangler deployExpired! Auth code or refresh token needs to be renewed.