]> cat aescling's git repositories - mastodon.git/commitdiff
Fix #631 - Docker-deployed streaming API wasn't launched with the right environment
authorEugen <eugen@zeonfederated.com>
Mon, 13 Feb 2017 22:10:11 +0000 (23:10 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2017 22:10:11 +0000 (23:10 +0100)
Dockerfile

index dfc0ad5b73629b815b8a75deae1d773c1f361eef..1f95f4f4974314643787759836b2ff8ccda579f4 100644 (file)
@@ -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 -