Skip to content

Commit

Permalink
Merge pull request #7 from MelleD/MelleD-patch-3
Browse files Browse the repository at this point in the history
Update custom_entrypoint
  • Loading branch information
MelleD committed Apr 24, 2024
2 parents c0c9c19 + 530ffc7 commit 33ef96e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ do
done
echo Tailscale started

echo Start Lambda runtime "${AWS_LAMBDA_RUNTIME_API}"

if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then
echo Start aws-lambda-rie
exec env ALL_PROXY="socks5://localhost:1055/" /usr/local/bin/aws-lambda-rie /var/lang/bin/python3.8 -m awslambdaric $@
else
echo Start python3.10 awslambdaric
exec env ALL_PROXY="socks5://localhost:1055/" /var/lang/bin/python3.10 -m awslambdaric $@
fi

0 comments on commit 33ef96e

Please sign in to comment.