Skip to content

Commit

Permalink
More fixes to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Mar 3, 2015
1 parent 3f15fb4 commit 0cca82c
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 0cca82c

Please sign in to comment.