Browse Source

Fix #631 - Docker-deployed streaming API wasn't launched with the right environment

Eugen 7 years ago
parent
commit
f3ce9322b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -1,6 +1,7 @@
 FROM ruby:2.3.1
 
 ENV RAILS_ENV=production
+ENV NODE_ENV=production
 
 RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list
 RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -