Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexellis authored Apr 14, 2017
1 parent 47a16de commit 65ba1a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This CLI can be used to build and deploy functions to FaaS.
This will generate a Docker image for Node.js.

```
$ ./faas-cli -action=build -image=alexellis2/hello-function -name=hello-function -handler=./samples/info
$ ./faas-cli -action=build -image=alexellis2/hello-function \
-name=hello-function -handler=./samples/info
Building: alexellis2/hello-cli with Docker. Please wait..
...
Expand All @@ -25,7 +26,8 @@ This will use the handler.js file found in the template/node folder to build a D
Now we can deploy the image as a named function called `hello-function`.

```
$ ./faas-cli -action=deploy -image=alexellis2/hello-function -name=hello-function
$ ./faas-cli -action=deploy -image=alexellis2/hello-function \
-name=hello-function
200 OK
Expand Down

0 comments on commit 65ba1a4

Please sign in to comment.