use default port for browser plugin compatiblity

This commit is contained in:
Asif Bacchus 2021-01-04 03:20:37 -07:00
parent 6858bc1f0e
commit 6172a745a8

View File

@ -19,7 +19,7 @@ RUN apk --update --no-cache add tzdata tini
VOLUME [ "/var/watch" ] VOLUME [ "/var/watch" ]
# expose port # expose port
EXPOSE 9999 EXPOSE 35729
# default environment variables # default environment variables
ENV TZ=Etc/UTC ENV TZ=Etc/UTC
@ -37,7 +37,7 @@ RUN npm install livereload
# run node via tini by default # run node via tini by default
ENTRYPOINT [ "/sbin/tini", "--" ] ENTRYPOINT [ "/sbin/tini", "--" ]
CMD [ "node", "node_modules/livereload/bin/livereload.js", "/var/watch" "--port 9999", "--debug", "--exts $EXT", "--exclusions $EXCLUDE", "-u true", "--wait $DELAY" ] CMD node node_modules/livereload/bin/livereload.js /var/watch --debug --exts $EXT --exclusions $EXCLUDE -u true --wait $DELAY
# set build timestamp and version labels # set build timestamp and version labels
ARG BUILD_DATE ARG BUILD_DATE