From: Guo Xiang Tan Date: Fri, 3 May 2019 01:44:09 +0000 (+0800) Subject: Set RAILS_ENV for base image. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c2c7a3d8f3aad26b0b1aea30eb5bf475d910ebc2;p=discourse_docker.git Set RAILS_ENV for base image. We can't boot the Rails app if it tries to require development dependencies. --- diff --git a/image/base/Dockerfile b/image/base/Dockerfile index 9cb6924..af1b313 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -4,6 +4,7 @@ FROM ubuntu:16.04 ENV PG_MAJOR 10 ENV RUBY_ALLOCATOR /usr/lib/libjemalloc.so.1 +ENV RAILS_ENV production #LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""