Skip to content

Commit

Permalink
Fixes docker build by installing bundler that fits the Gemfile.lock v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
Andreas Finke committed Oct 10, 2022
1 parent 3a768a2 commit 5e325a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ FROM ruby:2.5.8-buster
RUN apt-get update && apt-get install -y git supervisor build-essential zlib1g-dev libpq-dev

# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

RUN bundle config --global frozen 1

RUN mkdir -p /usr/ebicsbox
WORKDIR /usr/ebicsbox

ADD Gemfile /usr/ebicsbox/
ADD Gemfile.lock /usr/ebicsbox/
RUN gem install bundler
RUN bundle install

ADD . /usr/ebicsbox
Expand Down

0 comments on commit 5e325a9

Please sign in to comment.