mirror of
https://github.com/zhigang1992/now-deployment.git
synced 2026-06-14 17:59:14 +08:00
10 lines
248 B
Bash
Executable File
10 lines
248 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
# Ensure the downloaded Python version is used
|
|
export PATH="$LAMBDA_RUNTIME_DIR/bin:$PATH"
|
|
|
|
# Execute the "python" runtime bootstrap
|
|
export LAMBDA_RUNTIME_DIR="$(dirname "$0")/../python"
|
|
exec "$LAMBDA_RUNTIME_DIR/bootstrap" "$@"
|