Using Serverless Framework to build and deploy Docker images for AWS Lambdas

AWS Lambdas can be packaged and deployed using a Docker image, described in the docs here. Serverless Framework makes building and deploying a Docker based Lambda incredibly simple. If you have a simplest Dockerfile like this (from the docs here): FROM public.ecr.aws/lambda/nodejs:14 # Assumes your function is named “app.js”, and there is a package.json file …