Dockerfile in ezid-client-1.9.4 vs Dockerfile in ezid-client-1.10.0
- old
+ new
@@ -2,12 +2,12 @@
FROM ruby:${ruby_version}
SHELL ["/bin/bash", "-c"]
-RUN gem install bundler -v '~>2.0'
-
WORKDIR /app
-COPY . .
+COPY VERSION Gemfile ezid-client.gemspec ./
-RUN bundle install
+RUN gem install bundler -v '~>2.0' && bundle install
+
+COPY . .