Support for building pygeoapi as a lambda container and deploying to AWS Lambda (#2) (#709)

This commit is contained in:
Chris Barrett
2021-09-19 18:10:17 -05:00
committed by GitHub
parent 9b8d86e914
commit db3d4f9502
8 changed files with 292 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then
exec /usr/bin/aws-lambda-rie /usr/bin/python3 -m awslambdaric $1
else
exec /usr/bin/python3 -m awslambdaric $1
fi