Skip to content

serverless-projects/docker-serverless-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svls/serverless

Docker image containing NodeJS, Serverless Framework and Yarn.

Usage

# build image, tag image, push image, update git tag with latest serverless release (one-time task)
$ make release

# Run serverless deploy in the image.
$ docker run --rm -it -v $(pwd):/opt/app -v ~/.aws:/root/.aws -v ~/.ssh:/root/.ssh $(IMAGE_NAME) bash
bash-4.3# sls deploy

Example

example/apigw is an example on how to use amaysim/serverless.

Docker image

The Docker image has the following:

  • Node 8.4 (Alpine): we leverage Babel to be compatible with AWS Lambda runtime
  • Serverless Framework
  • yarn
  • zip: handy to zip your own serverless artefact
  • AWS CLI: required by some Serverless plug-ins to work

About

Docker image containing NodeJS, Serverless Framework and Yarn.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 70.7%
  • JavaScript 29.3%