This example shows how to use the new copy-extra-paths
feature in the faas-cli.
First, build the function
faas-cli build
You can then run the function locally using
docker run --rm -p 8080:8080 theaxer/echo-common:latest
Which you cant test using
$ curl http://localhost:8080 -d "the coolest"
openfaas