Template to run a python AWS Lambda function in a Docker container image using docker-compose
docker-compose up --build
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" \
-d @data.json
Template to run a python AWS Lambda function in a Docker container image using docker-compose
docker-compose up --build
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" \
-d @data.json