From c117ab1a1b6f8fcb110ffb5c374a0f846b9801cf Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Thu, 9 Jun 2016 10:13:39 +0100 Subject: [PATCH] updates to latest --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 815225e..6babdee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM rails:4.1 +FROM rails WORKDIR /usr/src/app -ENV DISCOURSE_VERSION=1.4.7 \ +ENV DISCOURSE_VERSION=1.6.0.beta7 \ RAILS_ENV=production \ RUBY_GC_MALLOC_LIMIT=90000000 \ DISCOURSE_DB_HOST=postgres \ @@ -18,4 +18,4 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou && bundle install --deployment --without test --without development EXPOSE 3000 -CMD ["rails", "server"] +CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"] -- GitLab