add direct cargo build instruction
This commit is contained in:
parent
a5ff24cd0d
commit
f7aa5b7b07
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@ A file and text uploading service with configurable time limit
|
|||
|
||||
## compiling
|
||||
|
||||
```sh
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
docker build -t datatrash .
|
||||
docker cp datatrash:/home/rust/.cargo/bin/datatrash datatrash
|
||||
|
|
Loading…
Reference in a new issue