Merge branch 'master' into 5663-doc-rake-secret
[arvados.git] / docker / sso / Dockerfile
index 99e3f4e41dfd8fbd925edecc4e78b966416506e3..107e4a9257f4b9d1ce6a4eb99adcc5438b6d7885 100644 (file)
@@ -18,9 +18,10 @@ RUN a2dissite default && \
     a2enmod rewrite && \
     a2enmod ssl && \
     cd /usr/src/sso-provider && \
+    cp config/environments/production.rb.example config/environments/production.rb && \
     RAILS_ENV=production /usr/local/rvm/bin/rvm-exec default bundle exec rake db:setup && \
     /usr/local/rvm/bin/rvm-exec default bundle exec rake assets:precompile && \
-    chown www-data:www-data tmp_omniauth log config.ru -R && \
+    chown www-data:www-data log config.ru -R && \
     chown www-data:www-data db db/production.sqlite3 && \
     /bin/mkdir /var/run/apache2