Skip to content

Commit

Permalink
fix(general): use nodemon instead of supervisor. Fixes MEMB-480
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff committed Mar 1, 2019
1 parent 8bb75e6 commit e57b8a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/oms-events/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ USER node
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH="/home/node/.npm-global/bin:${PATH}"

RUN npm install -g --loglevel warn supervisor && npm cache clean --force
RUN npm install -g --loglevel warn nodemon && npm cache clean --force


CMD sh /usr/app/scripts/bootstrap.sh && supervisor --watch "." --timestamp --extensions "js,json" lib/run.js
CMD sh /usr/app/scripts/bootstrap.sh && nodemon -e "js,json" lib/run.js

EXPOSE 8084

0 comments on commit e57b8a3

Please sign in to comment.