Saturday 16 September 2017

npm workflow with container?

Hi,I'm using the Serverless framework to develop Lambda functions. I want to utilize the Sharp library for image resizing, but it needs to be complied on an Amazon Linux server. Does anyone have a workflow to setup an Amazon Linux container with npm and rebuild my node_modules folder under that architecture? I had it running last night, but was still getting the invalid elf header error, so I'm not sure I did it right.

Submitted September 16, 2017 at 08:01PM by jackmusick

No comments:

Post a Comment