Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.12 KB

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