Deploy script is failing where it tries to build a docker image at this line.
docker build -t "cloudformation-lambda-$function" .
The error is:
The command '/bin/sh -c npm install --production' returned a non-zero code: 132.
In Dockerfile, this is the particular line which is failing:
RUN npm install --production
I tried googling it but none of the proposed solutions is working. Please help.