mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Update README.md
This commit is contained in:
parent
2649cc19e2
commit
c897b1be75
@ -16,7 +16,8 @@ Use this FaaS function to resize an image with ImageMagick.
|
|||||||
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
|
# curl -SL https://github.com/alexellis/faas-cli/releases/download/0.1-alpha/faas-cli-macos > faas-cli
|
||||||
# chmod +x ./faas-cli-macos
|
# chmod +x ./faas-cli-macos
|
||||||
|
|
||||||
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer -fprocess="convert - -resize 50% fd:1"
|
# ./faas-cli -action=deploy -image=functions/resizer -name=resizer \
|
||||||
|
-fprocess="convert - -resize 50% fd:1"
|
||||||
200 OK
|
200 OK
|
||||||
URL: http://localhost:8080/function/resizer
|
URL: http://localhost:8080/function/resizer
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user