Skip to content

Commit 23cc3d6

Browse files
Merge pull request #9 from adampweb/feature/increase-performance
Increase performance of Bundler processes
2 parents 9709834 + d2f98d9 commit 23cc3d6

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)