Update Dockerfile to move Gemflie*

...instead of Gemfile and Gemfile.lock (if it exists) individually
This commit is contained in:
Scott Schneider 2016-12-20 10:45:28 -08:00
parent efe21b27cd
commit 833e34ce37

View file

@ -3,8 +3,7 @@ FROM jruby:1.7-jdk
RUN mkdir -p /var/lib/vmpooler RUN mkdir -p /var/lib/vmpooler
WORKDIR /var/lib/vmpooler WORKDIR /var/lib/vmpooler
ADD Gemfile /var/lib/vmpooler ADD Gemfile* /var/lib/vmpooler
ADD Gemfile.lock /var/lib/vmpooler
RUN bundle install --system RUN bundle install --system
RUN ln -s /opt/jruby/bin/jruby /usr/bin/jruby RUN ln -s /opt/jruby/bin/jruby /usr/bin/jruby