From 0cca82cf83598605173e6cfba57848e33f2c1667 Mon Sep 17 00:00:00 2001 From: Michal Fojtik Date: Tue, 3 Mar 2015 13:37:00 +0100 Subject: [PATCH] More fixes to Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcdae68eda..529cabd9f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]