aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile5
-rw-r--r--mascara/README.md6
2 files changed, 10 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index d06f5377b..d79584c15 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,10 @@ WORKDIR /www/
# install dependencies
COPY ./package.json /www/package.json
-RUN npm install
+# RUN npm install -g node-gyp
+RUN npm install >> npm_log 2>> npm_err || true
+
+RUN cat npm_log && cat npm_err
# copy over app dir
COPY ./ /www/
diff --git a/mascara/README.md b/mascara/README.md
index cdeb4795c..d79f04ae2 100644
--- a/mascara/README.md
+++ b/mascara/README.md
@@ -18,3 +18,9 @@ node server.js
Standing problems:
- [ ] IndexDb
+
+### deploy
+
+```
+docker-compose build && docker-compose stop && docker-compose up -d && docker-compose logs -f --tail 10
+``` \ No newline at end of file