projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8866fb
)
Set RAILS_ENV for base image.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Fri, 3 May 2019 01:44:09 +0000
(09:44 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Fri, 3 May 2019 01:44:33 +0000
(09:44 +0800)
We can't boot the Rails app if it tries to require development
dependencies.
image/base/Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/image/base/Dockerfile
b/image/base/Dockerfile
index 9cb69245bc9794f1106a432d1de8e17d3bcaa431..af1b3132135686e95215ea5c89f05e1e98370f1c 100644
(file)
--- 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\""