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: 8 months 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T07:52:30.000Z (almost 6 years ago)
- Last Synced: 2025-03-26T23:06:15.474Z (about 1 year ago)
- Topics: faas-cli, openfaas
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- 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
```