Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasroesler/copy-common-example

Example repo that demos the new copy-extra-paths feature in OpenFaaS
https://github.com/lucasroesler/copy-common-example

faas-cli openfaas

Last synced: 9 days ago
JSON representation

Example repo that demos the new copy-extra-paths feature in OpenFaaS

Awesome Lists containing this project

README

        

# Copy Extra Paths Example

This example shows how to use the new `copy-extra-paths` feature in the faas-cli.

First, build the function
```sh
faas-cli build
```

You can then run the function locally using
```sh
docker run --rm -p 8080:8080 theaxer/echo-common:latest
```

Which you cant test using
```sh
$ curl http://localhost:8080 -d "the coolest"
openfaas
```