How do I use Pocketbase with Netlify?

Hello, I am making a Next.js 13 app, with a simple posts section that uses Pocketbase as a backend.
I believe for Pocketbase to work, it needs to be running, I am not sure though.

Once I deployed the website with the new Pocketbase db, it showed up with an error on the site.

Netlify site: https://alivesmp.netlify.app

Does Pocketbase run in AWS Lambda? If yes, you can deploy it as Netlify Functions. If it needs a Node.js server, it won’t work on Netlify.