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