refs 5541 Deploy fixes: clone zongi repo, compose cleanup
gitea/mylogger/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2023-04-11 08:36:46 +02:00
parent 32a1ba407d
commit 8480d70bab
2 changed files with 2 additions and 15 deletions

View File

@ -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

View File

@ -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