Skip to content

Commit c7a5381

Browse files
committed
Using nproc in Bundler processes
1 parent 7799837 commit c7a5381

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
FROM ruby:3.4.3-alpine
22
USER root
33
WORKDIR /build
4-
COPY . /build
4+
5+
COPY Gemfile /build/
6+
COPY *.gemspec /build/
57

68
RUN gem update \
7-
&& gem install concurrent-ruby \
9+
&& bundle config set jobs $(nproc) \
810
&& bundle install
911

12+
COPY . /build
13+
1014
WORKDIR /
1115
ENTRYPOINT [ "/build/bin/wayback_machine_downloader" ]

0 commit comments

Comments
 (0)