Update README.md

This commit is contained in:
Mateusz Słodkowicz 2024-03-15 15:53:03 +01:00 committed by GitHub
parent 12c28dba29
commit c8aecc8dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 1 deletions

View File

@ -25,10 +25,24 @@ Options:
-L, --list-rates <currency> List exchange rate for currency
-h, --help Print help
```
# Build
## Build
Needs rust and cargo, build tested on rust v1.76.0\
To build run command
```
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>
```