Run aws lambda locally 

Create simple Dockerfile:

The above Dockerfile is for nodejs lambdas, check https://github.com/lambci/docker-lambda for more docker images.

Build the above docker image:

Run the docker image: