mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
docs(bun-lambda): Use sparse checkout to make it possible to run the command in AWS CloudShell environment (#16371)
This commit is contained in:
committed by
GitHub
parent
522f2b91a0
commit
133d8973fb
@@ -7,7 +7,8 @@ A custom runtime layer that runs Bun on AWS Lambda.
|
||||
First, you will need to deploy the layer to your AWS account. Clone this repository and run the `publish-layer` script to get started. Note: the `publish-layer` script also builds the layer.
|
||||
|
||||
```sh
|
||||
git clone git@github.com:oven-sh/bun.git
|
||||
git clone --filter=blob:none --sparse https://github.com/oven-sh/bun.git
|
||||
git -C bun sparse-checkout set packages/bun-lambda
|
||||
cd bun/packages/bun-lambda
|
||||
bun install
|
||||
bun run publish-layer
|
||||
|
||||
Reference in New Issue
Block a user