Open-webui build failure

I’ve tested the build on my local machine using pack cli and it is able to build and deploy to local docker without error. However, it is throwing error on koyeb

! Failed to execute build script.

11:43:22 AM stderr !

11:43:22 AM stderr ! The Heroku Node.js npm Install Buildpack allows customization of the build process by executing the following scripts if they are defined in package.json:

11:43:22 AM stderr ! - heroku-prebuild

11:43:22 AM stderr ! - heroku-build or build

11:43:22 AM stderr ! - heroku-postbuild

11:43:22 AM stderr !

11:43:22 AM stderr ! An unexpected error occurred while executing npm run build. See the log output above for more information.

11:43:22 AM stderr !

11:43:22 AM stderr ! Ensure that this command runs locally without error and retry your build.

11:43:22 AM stderr

11:43:22 AM stderr ERROR: failed to build: exit status 1

11:43:22 AM stderr exit status 51

In your logs, it mentioned your service ran out of memory. You need a bigger instance to run OpenWebUi. We recommend an XLarge. You can try with a large and see if it works.

Hmm, still failing after switching to XLarge. Any other suggestions I can try?