From 6172a745a8733f94f231cdf4c756859e6ce486dd Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 4 Jan 2021 03:20:37 -0700 Subject: [PATCH] use default port for browser plugin compatiblity --- livereload/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livereload/Dockerfile b/livereload/Dockerfile index 6c7ac6e..df1d2af 100644 --- a/livereload/Dockerfile +++ b/livereload/Dockerfile @@ -19,7 +19,7 @@ RUN apk --update --no-cache add tzdata tini VOLUME [ "/var/watch" ] # expose port -EXPOSE 9999 +EXPOSE 35729 # default environment variables ENV TZ=Etc/UTC @@ -37,7 +37,7 @@ RUN npm install livereload # run node via tini by default 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 ARG BUILD_DATE