fix: refs #4409 Dockerfile producer CMD
gitea/mycdc/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2024-04-04 18:01:13 +02:00
parent 6f98ad1536
commit 5ceb973fa2
4 changed files with 6 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules
zongji
config/*.local.yml
config/producer.*.yml
config/consumer.*.yml

View File

@ -18,7 +18,7 @@ RUN apt-get update \
WORKDIR /mycdc
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 \
&& (cd zongji && npm install --omit=dev)

View File

@ -18,7 +18,7 @@ RUN apt-get update \
WORKDIR /mycdc
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 \
&& (cd zongji && npm install --omit=dev)
@ -29,4 +29,4 @@ COPY \
mycdc.js \
./
CMD ["node", "mycdc.js"]
CMD ["node", "index.js"]

View File

@ -1,6 +1,6 @@
{
"name": "mycdc",
"version": "0.0.3",
"version": "0.0.4",
"author": "Verdnatura Levante SL",
"description": "Asynchronous DB calculations reading the binary log",
"license": "GPL-3.0",