node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Serverless docker plugin

serverless Build Status npm version Coverage Status dependencies license

This is a proof of concept to see if we can replicate Amazon API Gateway using docker images to run lambda


  • λ runtimes supported by docker-lambda.
  • CORS
  • Authorizer
    • Custom Authorizer supported
    • Coginito Authorizer not implemented yet
  • Lambda Integration
    • Velocity templates support. supported
  • Lambda Proxy Integration. supported


Getting started

  • npm install - Installs all dependencies
  • npm start - Starts server listening at http://localhost:4000
  • npm test - tests custom authorizer (Authorization:TOKEN 12345)


This would not be possible without lambci

  • docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment

@johncmckim for suggesting the idea