From 579941ef46767872bf415592ab444839b90c4497 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 11 Apr 2023 12:04:33 +0200 Subject: [PATCH] refs #5541 Fixes: deploy, package, image tag --- Dockerfile | 2 +- docker-compose.yml | 2 +- package.json | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99248ef..3510736 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update \ gnupg2 \ git \ && curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \ - && apt-get install -y --no-install-recommends nodejs \ + && apt-get install -y --no-install-recommends nodejs npm \ && rm -rf /var/lib/apt/lists/* # MyLogger diff --git a/docker-compose.yml b/docker-compose.yml index 2ad029a..8e40669 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.7' services: main: - image: registry.verdnatura.es/mylogger + image: registry.verdnatura.es/mylogger:${VERSION}-${BUILD_ID} build: context: . dockerfile: Dockerfile diff --git a/package.json b/package.json index e7f265e..b874e05 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,16 @@ { + "name": "mylogger", + "version": "0.1.0", + "author": "Verdnatura Levante SL", + "description": "MySQL and MariaDB logger using binary log", + "license": "GPL-3.0", + "repository": { + "type": "git", + "url": "https://gitea.verdnatura.es/verdnatura/mylogger.git" + }, + "engines": { + "node": ">=14" + }, "dependencies": { "colors": "^1.4.0", "mysql2": "^2.3.3",