Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Fix bug running docker boostrap command.
Browse files Browse the repository at this point in the history
Not sure why, but was unable to write to Gemfile.lock so boostrap
command was failing.
  • Loading branch information
seven1m committed Aug 19, 2014
1 parent 9555d53 commit d18b33e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ ENV RAILS_ENV production
ADD .ruby-version /var/www/onebody/.ruby-version
ADD Gemfile /var/www/onebody/Gemfile
ADD Gemfile.lock /var/www/onebody/Gemfile.lock
USER root
RUN chown -R onebody /var/www/onebody

# install gems
USER onebody
WORKDIR /var/www/onebody
RUN bundle install
RUN gem install thin --no-rdoc --no-ri
Expand Down

0 comments on commit d18b33e

Please sign in to comment.