Skip to content

Commit 7ec65dc

Browse files
authored
Merge pull request #278 from nickcox/patch-1
Update Nodejs example to forward CMD arguments
2 parents a930cb3 + d9c31dc commit 7ec65dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc_source/images-test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ You can build RIE into a base image\. Download the RIE from GitHub to your local
8282
```
8383
#!/bin/sh
8484
if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then
85-
exec /usr/local/bin/aws-lambda-rie /usr/bin/npx aws-lambda-ric
85+
exec /usr/local/bin/aws-lambda-rie /usr/bin/npx aws-lambda-ric $@
8686
else
87-
exec /usr/bin/npx aws-lambda-ric
87+
exec /usr/bin/npx aws-lambda-ric $@
8888
fi
8989
```
9090

@@ -144,4 +144,4 @@ You install the runtime interface emulator to your local machine\. When you run
144144
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
145145
```
146146

147-
This command invokes the function running in the container image and returns a response\.
147+
This command invokes the function running in the container image and returns a response\.

0 commit comments

Comments
 (0)