From 6f1c49481e4dc3734c7124b921e0534ac01dea7c Mon Sep 17 00:00:00 2001 From: adam cathersides Date: Mon, 11 Feb 2019 23:09:28 +0000 Subject: [PATCH] Had to adjust a few bits to get the various containers to build --- README.md | 8 ++++++++ nodecg/Dockerfile | 2 ++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 61523cb..09487ea 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,11 @@ `streamnet_config` contains the configuration bundle / dockerfiles that build up the Streamnet server (aka stream.biggame). A docker-compose manifest is included in the root which should spin everything up (but you'll need to copy in a nodecg bundle to `/nodecg/bundles`, as well as the `streamnet_app` application to `/app`). + +## To Install + +```console +git clone --recurse-submodules git@github.com:thebiggame/streamnet_config.git +cd streamnet_config +docker-compose up +``` diff --git a/nodecg/Dockerfile b/nodecg/Dockerfile index 000fa2c..496d4f0 100644 --- a/nodecg/Dockerfile +++ b/nodecg/Dockerfile @@ -3,6 +3,8 @@ FROM nodecg/nodecg:latest # Copy Bundle COPY bundles /usr/src/app/bundles +# A hack to get the bower install to work. Something to do with .git files confusing it all. Meh.. https://github.com/bower/bower/issues/1492 +RUN cd /usr/src/app/bundles/thebiggame && rm .git .gitignore .gitattributes # Install dependencies RUN cd /usr/src/app/bundles/thebiggame && npm install --production RUN cd /usr/src/app/bundles/thebiggame && bower install --allow-root