Add support for RAILS_SERVE_STATIC_FILES to production.rb an use it with Docker
This commit is contained in:
parent
42b789d381
commit
d6325de35c
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ RUN apt-get update && \
|
|||
rm -rf /var/lib/apt/lists/* && \
|
||||
apt-get clean
|
||||
|
||||
ENV RAILS_ENV=production
|
||||
ENV RAILS_ENV=production \
|
||||
RAILS_SERVE_STATIC_FILES=true
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . ./
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue