mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-18 02:06:35 +00:00
Using nproc in Bundler processes
This commit is contained in:
parent
77998372cb
commit
c7a5381eaf
@ -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" ]
|
||||
Loading…
x
Reference in New Issue
Block a user