From a751d24562fb532148a8f7c007e43fded4e85b3e Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Sun, 7 Jun 2020 23:32:46 +0200 Subject: [PATCH] Run bundler install in parallel with the amount of available CPUs --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 49f0fa4838..c30df2f92f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,4 +43,5 @@ RUN wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.z # Copy code and install app dependencies COPY . /usr/src/app/ -RUN bundle install +# Run bundler install in parallel with the amount of available CPUs +RUN bundle install --jobs="$(nproc)"