From d32260bf345f6d0f1d617f4771bb3a0efe803667 Mon Sep 17 00:00:00 2001 From: Prathiba Date: Wed, 24 Jul 2024 15:39:36 +0200 Subject: [PATCH] To update docker file to node version 18 Fixes #597 --- server/database/config.json | 18 +++++++++--------- server/dockerfile | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/server/database/config.json b/server/database/config.json index aa0ff56..426f94b 100644 --- a/server/database/config.json +++ b/server/database/config.json @@ -1288,7 +1288,7 @@ "http-server-interface-1-0:http-server-interface-pac": { "http-server-interface-capability": { "application-name": "RegistryOffice", - "release-number": "2.1.0", + "release-number": "2.1.1", "application-purpose": "All applications being part of the MW SDN must register here.", "data-update-period": "http-server-interface-1-0:DATA_UPDATE_PERIOD_TYPE_REAL_TIME", "owner-name": "Thorsten Heinze", @@ -1503,7 +1503,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "NewRelease", - "release-number": "2.1.0" + "release-number": "2.1.1" } } } @@ -1799,7 +1799,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "RegistryOffice", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -2095,7 +2095,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "TypeApprovalRegister", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -2367,7 +2367,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "ExecutionAndTraceLog", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -2638,7 +2638,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "OamLog", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -2909,7 +2909,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "AdministratorAdministration", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -3330,7 +3330,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "ApplicationLayerTopology", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } @@ -3576,7 +3576,7 @@ "http-client-interface-1-0:http-client-interface-pac": { "http-client-interface-configuration": { "application-name": "OperationKeyManagement", - "release-number": "2.0.1" + "release-number": "2.1.1" } } } diff --git a/server/dockerfile b/server/dockerfile index 6f38488..781e391 100644 --- a/server/dockerfile +++ b/server/dockerfile @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:18 # Create app directory WORKDIR /home/openbackhaul/registryOffice @@ -13,7 +13,7 @@ RUN npm ci --only=production # Bundle app source COPY . . -EXPOSE 3000 +EXPOSE 3024 #Command to start the application CMD [ "node", "index.js" ]