From 141e6c90fbce73aca2e697b7d0806b94a04f77ad Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Mon, 22 Nov 2021 16:14:08 +0800 Subject: [PATCH] Docker build info updated --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 69ea95a..ba687b3 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,11 @@ Go to your browser: http://127.0.0.1:8081 The explorer can also be compiled using `docker build` as follows: ``` +# build using all CPU cores docker build --no-cache -t xmrblocks . + +# alternatively, specify number of cores to use (e.g. 2) +docker build --no-cache --build-arg NPROC=2 -t xmrblocks . ``` - The build needs 3 GB space.