Skip to content

Commit

Permalink
Merge pull request openshift#30 from mfojtik/more_docker_fixes
Browse files Browse the repository at this point in the history
More fixes to Dockerfile
  • Loading branch information
Michal Fojtik committed Mar 3, 2015
2 parents 3f15fb4 + 0cca82c commit fd4e057
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
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"
ENV RACK_ENV="production",RAILS_ENV="production"
EXPOSE 8080
CMD ["scl", "enable", "ror40", "./run.sh"]

0 comments on commit fd4e057

Please sign in to comment.