Skip to content

Commit

Permalink
make db dir world readable
Browse files Browse the repository at this point in the history
  • Loading branch information
bparees committed Jul 20, 2015
1 parent 2baf585 commit 5a9170f
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 5a9170f

Please sign in to comment.