Add runtime layer for Bun on AWS Lambda (#2009)

This commit is contained in:
Ashcon Partovi
2023-02-22 10:34:16 -08:00
committed by GitHub
parent 2dc85c4e45
commit ee60a5c55c
10 changed files with 1174 additions and 0 deletions

3
packages/bun-lambda/bootstrap Executable file
View File

@@ -0,0 +1,3 @@
#! /bin/sh
export BUN_INSTALL_CACHE_DIR=/tmp/bun/cache
exec /opt/bun --cwd $LAMBDA_TASK_ROOT /opt/runtime.ts