Fork me on GitHub
Aziz Aldawood20:03:07

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


what is fnproject?

Aziz Aldawood20:03:40

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

Aziz Aldawood20:03:20

you mean docker?


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

Aziz Aldawood20:03:58

Thanks 🙏:skin-tone-3: 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
Chris McCormick01:03:26

Keen to hear how this goes too, Aziz.

Aziz Aldawood06:03:02

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

Aziz Aldawood06:03:24

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

Aziz Aldawood06:03:08

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