mentum / lambdaws

Deploy, run and get results from Amazon AWS Lambda in a breeze

Home Page:http://mentum.github.io/lambdaws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add LAMBDA_TASK_ROOT/libs in process's PATH to run uploaded libraries

slvnperron opened this issue · comments

process.env['PATH'] = process.env['PATH'] + ':' + process.env['LAMBDA_TASK_ROOT'] + '/libs'

@slvnperron what you mean by that ?

custom libs (like phantomjs / imagemagick) could be added in the zip file. We need to modify the PATH environement variable on Lambda to point to the unzipped libs