samgis / scripts /lambda-entrypoint.sh
aletrn's picture
[feat] revert to aws lambda - wip
243f395
raw
history blame
181 Bytes
#!/bin/sh
if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then
exec /usr/local/bin/aws-lambda-rie /usr/bin/python -m awslambdaric "$@"
else
exec /usr/bin/python -m awslambdaric "$@"
fi