feature(NPM): install globally
author recommends global installation
This commit is contained in:
parent
581a6ca260
commit
0e6bbf80d5
@ -43,11 +43,11 @@ ENV DELAY=500
|
||||
# install livereload for node user
|
||||
USER node
|
||||
WORKDIR /home/node
|
||||
RUN npm install livereload
|
||||
RUN npm install -g livereload
|
||||
|
||||
# run node via tini by default
|
||||
ENTRYPOINT [ "/sbin/tini", "--" ]
|
||||
CMD node node_modules/livereload/bin/livereload.js /var/watch --debug --exts $EXT --exclusions $EXCLUDE -u true --wait $DELAY
|
||||
CMD livereload /var/watch --debug --exts $EXT --exclusions $EXCLUDE -u true --wait $DELAY
|
||||
|
||||
# set build timestamp and version labels
|
||||
ARG BUILD_DATE
|
||||
|
Loading…
Reference in New Issue
Block a user