This commit is contained in:
parent
6f98ad1536
commit
5ceb973fa2
|
@ -1,3 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
zongji
|
zongji
|
||||||
config/*.local.yml
|
config/producer.*.yml
|
||||||
|
config/consumer.*.yml
|
|
@ -18,7 +18,7 @@ RUN apt-get update \
|
||||||
|
|
||||||
WORKDIR /mycdc
|
WORKDIR /mycdc
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install --omit=dev \
|
RUN npm install --omit=dev --no-audit --prefer-offline \
|
||||||
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
|
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
|
||||||
&& (cd zongji && npm install --omit=dev)
|
&& (cd zongji && npm install --omit=dev)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ RUN apt-get update \
|
||||||
|
|
||||||
WORKDIR /mycdc
|
WORKDIR /mycdc
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install --omit=dev \
|
RUN npm install --omit=dev --no-audit --prefer-offline \
|
||||||
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
|
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
|
||||||
&& (cd zongji && npm install --omit=dev)
|
&& (cd zongji && npm install --omit=dev)
|
||||||
|
|
||||||
|
@ -29,4 +29,4 @@ COPY \
|
||||||
mycdc.js \
|
mycdc.js \
|
||||||
./
|
./
|
||||||
|
|
||||||
CMD ["node", "mycdc.js"]
|
CMD ["node", "index.js"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mycdc",
|
"name": "mycdc",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "Asynchronous DB calculations reading the binary log",
|
"description": "Asynchronous DB calculations reading the binary log",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
Loading…
Reference in New Issue