Skip to content

Commit

Permalink
docs: Fix ordering of options in example (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
JJC1138 authored Jun 28, 2021
1 parent b1c9aa7 commit 8af3c67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ You install the runtime interface emulator to your local machine. When you run t

2. Run your Lambda image function using the docker run command.

`docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 myfunction:latest
--entrypoint /aws-lambda/aws-lambda-rie <image entrypoint> <(optional) image command>`
```
docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 \
--entrypoint /aws-lambda/aws-lambda-rie \
myfunction:latest <image entrypoint> <(optional) image command>
````
This runs the image as a container and starts up an endpoint locally at `localhost:9000/2015-03-31/functions/function/invocations`.
Expand Down

0 comments on commit 8af3c67

Please # to comment.