Run and build your aws lambda applications written in python.
-
Copy files to your python project.
-
Add your requeriments to requeriments.txt
-
Build and start containers.
docker-compose up --build
On finish, your project will have been packaged in proj.zip
, ready to upload in aws lambda.
docker run --rm -v $(pwd):/root/proj --env-file=.env $(docker build -q .) HERE_YOUR_COMMAND