0.0.5 • Published 7 years ago

serverless-docker v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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

###Features:

  • λ 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

Prerequisite

Getting started

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

Acknowledgements

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