From c2c7a3d8f3aad26b0b1aea30eb5bf475d910ebc2 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 3 May 2019 09:44:09 +0800 Subject: [PATCH] Set RAILS_ENV for base image. We can't boot the Rails app if it tries to require development dependencies. --- image/base/Dockerfile | 1 + 1 file changed, 1 insertion(+) 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\"" -- 2.25.1