Create a Python package zip file for use in AWS lambda layers.
- amazonilnux
- python >= 3.7.4 but you can change if you want.
git clone this repository and Type the following command.
mkdir dist
docker-compose up --build
You can see the output in that folder. This folder is mounted in a Docker container
dist/output.zip
dist/python/*
Compressed output for use with lambda layers. just upload it.
Files installed before compression.
The default package is only pillow, qrcode but you can change or add it if you want.
Enjoy. AWS lambda layers!