samgis / scripts /lambda-entrypoint.sh
aletrn's picture
[ci] switch base docker image to python:3.11-slim-bookworm, use opencv-python-headless
c6215d1
raw
history blame
193 Bytes
#!/bin/sh
if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then
exec /usr/local/bin/aws-lambda-rie /usr/local/bin/python -m awslambdaric "$@"
else
exec /usr/local/bin/python -m awslambdaric "$@"
fi