refs #5541 Dockerfile fixes
gitea/mylogger/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-04-10 14:11:36 +02:00
parent 413368aa1c
commit 32a1ba407d
1 changed files with 4 additions and 4 deletions

View File

@ -9,13 +9,13 @@ RUN apt-get update \
curl \
ca-certificates \
gnupg2 \
&& url -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
# Consumer
# MyLogger
WORKDIR /mycdc
WORKDIR /mylogger
COPY package.json package-lock.json ./
RUN npm install --only=prod
@ -32,4 +32,4 @@ COPY \
config.yml \
./
CMD ["node", "mylogger.js"]
CMD ["node", "index.js"]