This is the source repository of the Docker image for Amazon AWS SAM Local.
Amazon AWS SAM Local is a tool for local development and testing of Serverless applications. It can be used to test functions locally, start a local API Gateway from a SAM template, validate a SAM template, and generate sample payloads for various event sources.
$ docker run -it --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$(PWD)":/var/opt \
-p "3000:3000" \
cnadiminti/aws-sam-local
This will add your current directory as a volume to the container and publish host port to container port.
For a working example please take a look at the Makefile in the source repository.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.