add direct cargo build instruction

This commit is contained in:
neri 2020-07-12 03:16:17 +02:00
parent a5ff24cd0d
commit f7aa5b7b07
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ A file and text uploading service with configurable time limit
## compiling ## compiling
```sh
cargo build --release
```
or
```sh ```sh
docker build -t datatrash . docker build -t datatrash .
docker cp datatrash:/home/rust/.cargo/bin/datatrash datatrash docker cp datatrash:/home/rust/.cargo/bin/datatrash datatrash