https://github.com/mattyait/serverless-docker
Docker Image to use serverless framework with AWS
https://github.com/mattyait/serverless-docker
alpine docker lambda nodejs serverless serverless-framework
Last synced: about 2 months ago
JSON representation
Docker Image to use serverless framework with AWS
- Host: GitHub
- URL: https://github.com/mattyait/serverless-docker
- Owner: mattyait
- License: mit
- Created: 2018-05-26T03:01:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T11:43:25.000Z (over 7 years ago)
- Last Synced: 2025-03-30T01:19:15.040Z (about 1 year ago)
- Topics: alpine, docker, lambda, nodejs, serverless, serverless-framework
- Language: Python
- Size: 953 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/mattyait/serverless-docker/builds/)
# 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.
[](https://hub.docker.com/r/mattyait/serverless-docker/)
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 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
