mascara deploy - improve deploy instructions

This commit is contained in:
kumavis 2017-04-06 14:30:14 -07:00
parent d7d13caf05
commit 6a7ea00cd3
2 changed files with 10 additions and 1 deletions

View File

@ -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/

View File

@ -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
```