Skip to content

mandros1985/reviews_lambda_layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

1

docker run -v "$PWD":/var/task "lambci/lambda:build-python3.7" /bin/sh -c "yum install -y postgresql-devel python-psycopg2 postgresql-libs gcc g++ build essential python3-dev libpq-dev psycopg2; pip install -r requirements.txt -t python/lib/python3.7/site-packages/; exit"

2

zip -r -9 reviews_lambda_layer.zip python

3

aws lambda publish-layer-version --layer-name reviews_lambda_layer --description "My python libs for reviews lambda app" --zip-file fileb://reviews_lambda_layer.zip --compatible-runtimes "python3.7" --profile pub --region eu-west-1

About

python aws lambda layer - dockerized

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published