From b07cbc7204b13377321e6fe101ae082a9cc23635 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Thu, 31 Oct 2024 10:36:24 +0100 Subject: [PATCH 1/3] Update Dockerfile --- docker/Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ff7f64d7..914ee80c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -137,8 +137,6 @@ COPY --from=builder /opt/perseo-fe /opt/perseo-fe RUN npm install pm2@4.4.0 -g --no-package-lock --no-optional USER node -ENV PERSEO_MONGO_HOST=mongodb -ENV PERSEO_CORE_URL=http://corehost:8080 ENV NODE_ENV=production # Expose 9090 for HTTP PORT @@ -181,8 +179,6 @@ COPY --from=anon-user /etc/passwd /etc/shadow /etc/group /etc/ WORKDIR /opt/perseo-fe USER nobody -ENV PERSEO_MONGO_HOST=mongodb -ENV PERSEO_CORE_URL=http://corehost:8080 ENV NODE_ENV=production # Expose 9090 for HTTP PORT @@ -223,8 +219,6 @@ RUN \ rm -rf /var/lib/apt/lists/* USER node -ENV PERSEO_MONGO_HOST=mongodb -ENV PERSEO_CORE_URL=http://corehost:8080 ENV NODE_ENV=production # Expose 9090 for HTTP PORT From cabb21d5f250b5cd5f119f071d2e5a03caba4b37 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Thu, 31 Oct 2024 10:39:00 +0100 Subject: [PATCH 2/3] Update CHANGES_NEXT_RELEASE --- CHANGES_NEXT_RELEASE | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 969251fd..1a840aa4 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1,3 +1,4 @@ - Fix: deprecated mongo warnings about save and remove methods (#806) - Upgrade express from 4.19.2 to 4.20.0 - Upgrade body-parser dep from 1.18.2 to 1.20.3 +- Fix: remove unnecessary env vars (PERSEO_MONGO_HOST and PERSEO_CORE_URL) from Dockerfile (#810) From 75da75314604d0fc535744d270f03d595b9b675c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferm=C3=ADn=20Gal=C3=A1n=20M=C3=A1rquez?= Date: Thu, 31 Oct 2024 12:15:48 +0100 Subject: [PATCH 3/3] Update CHANGES_NEXT_RELEASE --- CHANGES_NEXT_RELEASE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 1a840aa4..f76a0743 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1,4 +1,4 @@ - Fix: deprecated mongo warnings about save and remove methods (#806) +- Fix: remove unnecessary env vars (PERSEO_MONGO_HOST and PERSEO_CORE_URL) from Dockerfile (#810) - Upgrade express from 4.19.2 to 4.20.0 - Upgrade body-parser dep from 1.18.2 to 1.20.3 -- Fix: remove unnecessary env vars (PERSEO_MONGO_HOST and PERSEO_CORE_URL) from Dockerfile (#810)