From aa2328db6511e0dee9aca08417d7b1c073803880 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 11 Apr 2023 12:14:55 +0200 Subject: [PATCH] refs #5541 Deploy fixes --- Dockerfile | 5 +++-- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3510736..47d6bca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,9 @@ RUN apt-get update \ gnupg2 \ git \ && curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \ - && apt-get install -y --no-install-recommends nodejs npm \ - && rm -rf /var/lib/apt/lists/* + && apt-get install -y --no-install-recommends nodejs \ + && rm -rf /var/lib/apt/lists/* \ + && npm i -g npm@9.5.0 # MyLogger diff --git a/docker-compose.yml b/docker-compose.yml index 8e40669..765ef0f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3.7' services: main: - image: registry.verdnatura.es/mylogger:${VERSION}-${BUILD_ID} + image: registry.verdnatura.es/mylogger:${VERSION}-build${BUILD_ID} build: context: . dockerfile: Dockerfile