From 8480d70bab770c890edb0daf539b6ec66ab9e576 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 11 Apr 2023 08:36:46 +0200 Subject: [PATCH] refs 5541 Deploy fixes: clone zongi repo, compose cleanup --- Dockerfile | 3 ++- docker-compose.yml | 14 -------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c6df3d..e453376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ RUN apt-get update \ WORKDIR /mylogger COPY package.json package-lock.json ./ -RUN npm install --only=prod +RUN npm install --only=prod \ + && git clone https://github.com/juan-ferrer-toribio/zongji.git ARG BUILD_ID=unknown ARG VERSION diff --git a/docker-compose.yml b/docker-compose.yml index 81e9e48..2ad029a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,17 +7,3 @@ services: dockerfile: Dockerfile args: - VERSION=${VERSION:?} - configs: - - source: config - target: /mylogger/config.local.yml - deploy: - resources: - limits: - memory: 1G - placement: - constraints: - - node.role == worker -configs: - config: - external: true - name: mylogger_config