add direct cargo build instruction
This commit is contained in:
parent
a5ff24cd0d
commit
f7aa5b7b07
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue