Compare commits
2 Commits
8cafe6e164
...
v2.5.1
| Author | SHA1 | Date | |
|---|---|---|---|
| c0a4fc1c6c | |||
| cad203a7c0 |
@@ -81,12 +81,12 @@ TLS13_ONLY=TRUE
|
|||||||
LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py"
|
LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py"
|
||||||
|
|
||||||
# LR_EXCLUDE:
|
# LR_EXCLUDE:
|
||||||
# Comma-delimited set of /regular-expressions/ defining what to exclude from monitoring in addition to the defaults.
|
# Comma-delimited set of regular-expressions defining what to exclude from monitoring in addition to the defaults.
|
||||||
# Upstream node-livereload lists the following as defaults: "/\.git\//,/\.svn\//,/\.hg\//"
|
# Upstream node-livereload already ignores: ".git/,.svn/,.hg/"
|
||||||
# REQUIRED: NO
|
# REQUIRED: NO
|
||||||
# DEFAULT: "/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/"
|
# DEFAULT: ".vscode/,.idea/,.tmp$,.swp$"
|
||||||
# VALID OPTIONS: Any valid RegEx that matches files or directories
|
# VALID OPTIONS: Any valid RegEx that matches files or directories
|
||||||
LR_EXCLUDE="/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/"
|
LR_EXCLUDE=".vscode/,.idea/,.tmp$,.swp$"
|
||||||
|
|
||||||
# LR_DELAY:
|
# LR_DELAY:
|
||||||
# Amount of time in milliseconds before detecting a change and sending a trigger for a browser reload. Useful if you need to allow time for background recompilation, etc.
|
# Amount of time in milliseconds before detecting a change and sending a trigger for a browser reload. Useful if you need to allow time for background recompilation, etc.
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GitToolBoxProjectSettings">
|
||||||
|
<option name="commitMessageValidationOverride">
|
||||||
|
<BoolValueOverride>
|
||||||
|
<option name="value" value="true" />
|
||||||
|
</BoolValueOverride>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
+12
-6
@@ -4,6 +4,8 @@
|
|||||||
ARG NODE_VERSION=16
|
ARG NODE_VERSION=16
|
||||||
ARG ALPINE_VERSION=3.14
|
ARG ALPINE_VERSION=3.14
|
||||||
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION}
|
FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION}
|
||||||
|
ARG NODE_VERSION
|
||||||
|
ARG ALPINE_VERSION
|
||||||
|
|
||||||
# create new node user with set UID and GID from build-args and create volume directories
|
# create new node user with set UID and GID from build-args and create volume directories
|
||||||
ARG NODE_UID=9999
|
ARG NODE_UID=9999
|
||||||
@@ -27,12 +29,16 @@ RUN apk --update --no-cache add \
|
|||||||
&& apk --update --no-cache upgrade
|
&& apk --update --no-cache upgrade
|
||||||
|
|
||||||
# labels
|
# labels
|
||||||
|
MAINTAINER Asif Bacchus <asif@asifbacchus.dev>
|
||||||
|
LABEL maintainer="Asif Bacchus <asif@asifbacchus.dev>"
|
||||||
|
LABEL dev.asifbacchus.docker.internalName="node-livereload-tls"
|
||||||
LABEL org.opencontainers.image.authors="Asif Bacchus <asif@asifbacchus.dev>"
|
LABEL org.opencontainers.image.authors="Asif Bacchus <asif@asifbacchus.dev>"
|
||||||
LABEL org.opencontainers.image.title="node-livereload-tls"
|
|
||||||
LABEL org.opencontainers.image.description="Dockerized node-livereload supporting TLS and running under limited user account. Environment variables allow specifying files to watch/exclude and notification delay."
|
LABEL org.opencontainers.image.description="Dockerized node-livereload supporting TLS and running under limited user account. Environment variables allow specifying files to watch/exclude and notification delay."
|
||||||
LABEL org.opencontainers.image.url="https://git.asifbacchus.dev/ab-docker/livereload"
|
|
||||||
LABEL org.opencontainers.image.documentation="https://git.asifbacchus.dev/ab-docker/livereload/raw/branch/master/README.md"
|
LABEL org.opencontainers.image.documentation="https://git.asifbacchus.dev/ab-docker/livereload/raw/branch/master/README.md"
|
||||||
LABEL org.opencontainers.image.source="https://git.asifbacchus.dev/ab-docker/livereload.git"
|
LABEL org.opencontainers.image.source="https://git.asifbacchus.dev/ab-docker/livereload.git"
|
||||||
|
LABEL org.opencontainers.image.title="node-livereload-tls"
|
||||||
|
LABEL org.opencontainers.image.url="https://git.asifbacchus.dev/ab-docker/livereload"
|
||||||
|
LABEL org.opencontainers.image.vendor="NODE.js, node-livereload"
|
||||||
|
|
||||||
# default environment variables
|
# default environment variables
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
@@ -79,11 +85,11 @@ ENTRYPOINT [ "/sbin/tini", "--", "/usr/local/bin/entrypoint.sh" ]
|
|||||||
|
|
||||||
# set build timestamp and version labels
|
# set build timestamp and version labels
|
||||||
ARG INTERNAL_VERSION
|
ARG INTERNAL_VERSION
|
||||||
|
ARG GIT_COMMIT
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
LABEL org.opencontainers.image.version="16.5.0, 0.9.3"
|
LABEL org.opencontainers.image.version="NODE=${NODE_VERSION}, node-livereload=0.9.3"
|
||||||
LABEL org.opencontainers.image.vendor="NODE.js, node-livereload"
|
LABEL dev.asifbacchus.docker.internalVersion=${INTERNAL_VERSION}
|
||||||
LABEL dev.asifbacchus.image.name="node-livereload-tls"
|
LABEL org.opencontainers.image.revision=${GIT_COMMIT}
|
||||||
LABEL dev.asifbacchus.image.version=${INTERNAL_VERSION}
|
|
||||||
LABEL org.opencontainers.image.created=${BUILD_DATE}
|
LABEL org.opencontainers.image.created=${BUILD_DATE}
|
||||||
|
|
||||||
#EOF
|
#EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user