Update README.md
This commit is contained in:
parent
12c28dba29
commit
c8aecc8dea
16
README.md
16
README.md
|
@ -25,10 +25,24 @@ Options:
|
||||||
-L, --list-rates <currency> List exchange rate for currency
|
-L, --list-rates <currency> List exchange rate for currency
|
||||||
-h, --help Print help
|
-h, --help Print help
|
||||||
```
|
```
|
||||||
# Build
|
## Build
|
||||||
Needs rust and cargo, build tested on rust v1.76.0\
|
Needs rust and cargo, build tested on rust v1.76.0\
|
||||||
To build run command
|
To build run command
|
||||||
```
|
```
|
||||||
cargo build -r
|
cargo build -r
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
To use with docker
|
||||||
|
Build image
|
||||||
|
```
|
||||||
|
docker build -t currency-exchange .
|
||||||
|
```
|
||||||
|
|
||||||
|
To run use:
|
||||||
|
```
|
||||||
|
docker run --rm -v /tmp:/tmp:rw currency-exchange <ARGUMENTS>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue