Skip to content

Commit

Permalink
Merge pull request openshift#44 from bparees/db_perm
Browse files Browse the repository at this point in the history
make db dir world readable
  • Loading branch information
bparees committed Jul 20, 2015
2 parents 2baf585 + 5a9170f commit 3028acb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM openshift/ruby-20-centos7

USER default
EXPOSE 8080

ENV RACK_ENV production
ENV RAILS_ENV production
COPY . /opt/openshift/src/
RUN scl enable ror40 "bundle install"
CMD ["scl", "enable", "ror40", "./run.sh"]

USER root
RUN chmod og+rw /opt/openshift/src/db
USER default

0 comments on commit 3028acb

Please sign in to comment.