Skip to content

Commit

Permalink
updated lambda readme
Browse files Browse the repository at this point in the history
  • Loading branch information
egadbois committed Aug 24, 2023
1 parent 52c181c commit 6299a95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions native-aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Deploying as a Java 17 Application (.jar)
----------------------
1. Navigate to the directory for this demo:
```sh
cd graalvm-demos/aws-lambda-demo
cd graalvm-demos/native-aws-lambda
```
2. Generate the .jar application file by executing the following command (the file will be created in aws-lambda-demo/target/lambda-demo-0.1.jar):
2. Generate the .jar application file by executing the following command (the file will be created in native-aws-lambda/target/lambda-demo-0.1.jar):
```sh
./mvnw package
```
Expand Down Expand Up @@ -96,9 +96,9 @@ Deploying as a Native Image Application
----------------------------------
1. Navigate to the directory for this demo:
```sh
cd graalvm-demos/aws-lambda-demo
cd graalvm-demos/native-aws-lambda
```
2. AWS Lambda requires a bootstrap file that provides instructions for running applications with custom runtimes. Generate a zip file containing the Native Image executable and a corresponding bootstrap file with the following command (the file will be created in aws-lambda-demo/target/function.zip):
2. AWS Lambda requires a bootstrap file that provides instructions for running applications with custom runtimes. Generate a zip file containing the Native Image executable and a corresponding bootstrap file with the following command (the file will be created in native-aws-lambda/target/function.zip):
```sh
./mvnw package -Dpackaging=docker-native
```
Expand Down

0 comments on commit 6299a95

Please sign in to comment.