Skip to content

Commit

Permalink
Merge pull request openshift#49 from bparees/bump_version
Browse files Browse the repository at this point in the history
move hello world example to ruby-22 image
  • Loading branch information
bparees committed Dec 2, 2015
2 parents b8210c2 + e0e69bb commit 5868780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM openshift/ruby-20-centos7
FROM openshift/ruby-22-centos7
USER default
EXPOSE 8080
ENV RACK_ENV production
ENV RAILS_ENV production
COPY . /opt/app-root/src/
RUN scl enable ror40 "bundle install"
CMD ["scl", "enable", "ror40", "./run.sh"]
RUN scl enable rh-ruby22 "bundle install"
CMD ["scl", "enable", "rh-ruby22", "./run.sh"]

USER root
RUN chmod og+rw /opt/app-root/src/db
Expand Down

0 comments on commit 5868780

Please sign in to comment.