From ef0c99db0b9f42f585302fa569a79ac690d16201 Mon Sep 17 00:00:00 2001 From: thebigG Date: Mon, 19 Jun 2023 15:14:55 -0500 Subject: [PATCH] -Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f6310f1..5ffe95c 100644 --- a/README.md +++ b/README.md @@ -38,5 +38,16 @@ Clone the repository and run cargo run ``` +# Build inside Docker +Be sure you to replace `$PATH_TO_REPO` with the path to this cloned repo on your filesystem. +``` +sudo docker build --no-cache . -t lemoa:latest +sudo docker run -v $PATH_TO_REPO:/home/lemoa/lemoa_volume -it lemoa:latest bash +cd lemoa_volume/ +cargo build +``` +The binary will also be available on your host system since $PATH_TO_REPO is mounted as a shared volume between docker and host. + + # License Lemoa is licensed under the [**GNU General Public License**](https://www.gnu.org/licenses/gpl.html): You can use, study and share it as you want.