mascara deploy - improve deploy instructions

feature/default_network_editable
kumavis 8 years ago
parent d7d13caf05
commit 6a7ea00cd3
  1. 5
      Dockerfile
  2. 6
      mascara/README.md

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

@ -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
```
Loading…
Cancel
Save