Like serverless invoke, but with docker-lambda
Pretty much just a thin wrapper for passing a json file for a custom event to docker-lambda.
Install
npm i -g gritcode/serverless-docker-invoke
Run
docker-invoke -f <function> -p <event.json>
const dockerInvoke = require('serverless-docker-invoke');
const output = dockerInvoke(functionName, eventFile);