Fix issue where you couldn't install gems at runtime
This commit is contained in:
parent
fc890836f8
commit
8bab112daf
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ COPY Gemfile.lock /myapp/Gemfile.lock
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
RUN chown -R $USER /myapp/Gemfile
|
RUN chown -R $USER /myapp/Gemfile
|
||||||
RUN chgrp -R $USER /myapp/Gemfile.lock
|
RUN chgrp -R $USER /myapp/Gemfile.lock
|
||||||
|
RUN chown -R $USER /usr/local/bundle
|
||||||
|
RUN chgrp -R $USER /usr/local/bundle
|
||||||
USER $USER
|
USER $USER
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD foreman start
|
CMD foreman start
|
||||||
|
|
Loading…
Reference in a new issue