Using nproc in Bundler processes

This commit is contained in:
adampweb 2025-05-14 15:03:22 +02:00
parent 77998372cb
commit c7a5381eaf

View File

@ -1,11 +1,15 @@
FROM ruby:3.4.3-alpine
USER root
WORKDIR /build
COPY . /build
COPY Gemfile /build/
COPY *.gemspec /build/
RUN gem update \
&& gem install concurrent-ruby \
&& bundle config set jobs $(nproc) \
&& bundle install
COPY . /build
WORKDIR /
ENTRYPOINT [ "/build/bin/wayback_machine_downloader" ]