From 8af3c673b245cec9ac99a277bd8454f5c88fecad Mon Sep 17 00:00:00 2001 From: Jon Colverson Date: Mon, 28 Jun 2021 17:33:58 +0100 Subject: [PATCH] docs: Fix ordering of options in example (#36) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 804223f..1fe10f6 100644 --- a/README.md +++ b/README.md @@ -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 <(optional) image command>` + ``` + docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 \ + --entrypoint /aws-lambda/aws-lambda-rie \ + myfunction:latest <(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`.