From: Eugen Date: Mon, 13 Feb 2017 22:10:11 +0000 (+0100) Subject: Fix #631 - Docker-deployed streaming API wasn't launched with the right environment X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f3ce9322b0d4cbb5cc9038378e26d26785761ce9;p=mastodon.git Fix #631 - Docker-deployed streaming API wasn't launched with the right environment --- diff --git a/Dockerfile b/Dockerfile index dfc0ad5b7..1f95f4f49 100644 --- a/Dockerfile +++ b/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 -