Add LAMBDA_TASK_ROOT/libs in process's PATH to run uploaded libraries
slvnperron opened this issue · comments
Sylvain Perron commented
process.env['PATH'] = process.env['PATH'] + ':' + process.env['LAMBDA_TASK_ROOT'] + '/libs'
Francois-Xavier P. Darveau commented
@slvnperron what you mean by that ?
Sylvain Perron commented
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