Docker image which helps with packaging of aws lambda code (only python for now)
Docker image, which helps on aws lambda packaging. Only for python for now.
It installs all dependencies for the function and creates a package.zip which can be uploaded to AWS
How to build
docker build -t aws_lambda .
How to run
- the container needs the folder containing the sources (*.py and requirements.txt) mounted under
- you can build and run it by yourself
docker run -it --rm -v $(pwd):/src aws_lambda
- use the dockerhub image
docker run -it --rm -v $(pwd):/src batchovski/lambda-package
Docker Pull Command