fix: refs #4409 Dockerfile install zongi
gitea/mycdc/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-04-04 17:40:22 +02:00
parent 69ff89ab4a
commit fa905552f0
3 changed files with 8 additions and 14 deletions

View File

@ -17,12 +17,9 @@ RUN apt-get update \
WORKDIR /mycdc
COPY package.json package-lock.json ./
RUN npm install --only=prod
ARG BUILD_ID=unknown
ARG VERSION
ENV VERSION $VERSION
RUN echo $VERSION
RUN npm install --omit=dev \
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
&& (cd zongji && npm install --omit=dev)
COPY config config
COPY \

View File

@ -13,16 +13,13 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
# Consumer
# Producer
WORKDIR /mycdc
COPY package.json package-lock.json ./
RUN npm install --only=prod
ARG BUILD_ID=unknown
ARG VERSION
ENV VERSION $VERSION
RUN echo $VERSION
RUN npm install --omit=dev \
&& git clone --depth 1 --branch fix-143 https://github.com/juan-ferrer-toribio/zongji.git \
&& (cd zongji && npm install --omit=dev)
COPY config config
COPY \

View File

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