nbb 2023-03-08

Has anyone used nbb with fnproject? if there is an example that would be great. I tried googling but no luck

what is fnproject?

The Fn project is an open-source container-native serverless platform that you can run anywhere

😍 1

I'll try it out and will add an example to the repo

🙏 1

hmm, I hoped I could run the nodefn example without running all kinds of other stuff

yeah I'm not able to deploy it locally

fn deploy --local --app fdkdemo

Fn: Get "": dial tcp [::1]:8080: connect: connection refused

See 'fn <command> --help' for more information. Client version: 0.6.23

and note the "type": "module" in package.json

Thanks 🙏🏼 will try it tomorrow morning

ok let me know how it goes

build_image: fnproject/node:14-dev
run_image: fnproject/node:14

you might need node 16, but perhaps 14 works

👍 1

Keen to hear how this goes too, Aziz.

alright, it worked locally. Need to test on oracle cloud now. Will do it later today. One thing to note is that you need to increase the memory limit to 256 for this to work with nbb

schema_version: 20180708
name: nodefn
version: 0.0.8
runtime: node
build_image: fnproject/node:14-dev
run_image: fnproject/node:14
entrypoint: node func.js
memory: 256

I am 15% happier compared to yesterday, thank you @borkdude 🙏