mirror of https://github.com/docker/compose.git
Merge pull request #2152 from ronen/patch-1
Bug fix: Use app's Gemfile.lock in Dockerfile
This commit is contained in:
commit
7538d7d258
|
@ -26,6 +26,7 @@ Dockerfile consists of:
|
||||||
RUN mkdir /myapp
|
RUN mkdir /myapp
|
||||||
WORKDIR /myapp
|
WORKDIR /myapp
|
||||||
ADD Gemfile /myapp/Gemfile
|
ADD Gemfile /myapp/Gemfile
|
||||||
|
ADD Gemfile.lock /myapp/Gemfile.lock
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
ADD . /myapp
|
ADD . /myapp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue