Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lucasroesler/copy-common-example
- Owner: LucasRoesler
- Created: 2019-12-24T17:01:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T07:52:30.000Z (over 4 years ago)
- Last Synced: 2024-12-07T08:42:20.578Z (16 days ago)
- Topics: faas-cli, openfaas
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```