Merge pull request #2910

37f9c6e6 Dockerfile: add option to set build parallelism (MoroccanMalinois)
This commit is contained in:
Riccardo Spagni
2017-12-25 21:16:59 +02:00
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -136,7 +136,11 @@ Installing a snap is very quick. Snaps are secure. They are isolated with all of
* Docker
# Build using all available cores
docker build -t monero .
# or build using a specific number of cores (reduce RAM requirement)
docker build --build-arg NPROC=1 -t monero .
# either run in foreground
docker run -it -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero