diff --git a/bin/docker/build-bundle.sh b/bin/docker/build-bundle.sh index 6c984bcbd1c..81c0781dc0f 100644 --- a/bin/docker/build-bundle.sh +++ b/bin/docker/build-bundle.sh @@ -18,6 +18,9 @@ cp -r --parents include/ /usr # install npm curl https://www.npmjs.com/install.sh | sh +# install forever and phantomjs +npm install -g forever phantomjs + # build the meteor application cd /var/src /usr/bin/build-meteor.sh diff --git a/docker/reaction.minimal.docker b/docker/reaction.minimal.docker index 11a17e5240a..f5643474745 100644 --- a/docker/reaction.minimal.docker +++ b/docker/reaction.minimal.docker @@ -14,6 +14,7 @@ RUN /usr/bin/install-graphicsmagick.sh ENV PORT 3000 ENV ROOT_URL http://localhost ENV MONGO_URL mongodb://127.0.0.1:27017/meteor +ENV NODE forever RUN mkdir -p "/var/src" "/var/www" WORKDIR /var/www/bundle diff --git a/docker/reaction.mongo.docker b/docker/reaction.mongo.docker index 3b69d49e941..b86a721f1d3 100644 --- a/docker/reaction.mongo.docker +++ b/docker/reaction.mongo.docker @@ -14,6 +14,7 @@ RUN /usr/bin/install-graphicsmagick.sh ENV PORT 3000 ENV ROOT_URL http://localhost ENV MONGO_URL mongodb://127.0.0.1:27017/meteor +ENV NODE forever RUN mkdir -p "/var/src" "/var/www" WORKDIR /var/www/bundle