Skip to content

mattyait/serverless-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-docker

Dockerfile for serverless framework

A docker image for running serverless commands.

This can be useful for building and deploying serverless application on docker containers.

DockerHub Badge

Build an Image

docker build -t serverless-docker:v1 .

Run the docker container

docker run -i -d -v ~/Documents/workstation/serverless-docker/src/:/mnt serverless-docker:v1

Login to container in interactive mode

docker exec -it <container_id> bash

Setup the AWS profile

aws configure
AWS Access Key ID [None]: *********
AWS Secret Access Key [None]: **********
Default region name [None]:
Default output format [Noµne]:
Run the chef recipe

Run the serverless to deploy lambda functions

serverless deploy

Sample Demo

About

Docker Image to use serverless framework with AWS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published