Fix issue where you couldn't install gems at runtime

This commit is contained in:
Eric Schultz 2018-12-10 15:23:46 -06:00
parent fc890836f8
commit 8bab112daf

View file

@ -23,6 +23,8 @@ COPY Gemfile.lock /myapp/Gemfile.lock
RUN bundle install
RUN chown -R $USER /myapp/Gemfile
RUN chgrp -R $USER /myapp/Gemfile.lock
RUN chown -R $USER /usr/local/bundle
RUN chgrp -R $USER /usr/local/bundle
USER $USER
EXPOSE 5000
CMD foreman start