From 11ab37baf1cbedd2108918cc836b6ed8c3d7820d Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs <93375423+prafull-opensignlabs@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:05:47 +0530 Subject: [PATCH 1/2] Update package.json --- apps/OpenSign/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/OpenSign/package.json b/apps/OpenSign/package.json index a09dbe532..fb11d577b 100644 --- a/apps/OpenSign/package.json +++ b/apps/OpenSign/package.json @@ -42,7 +42,7 @@ "build": "npm run version && rm -rf public/mfbuild && npm run micro && CI=false && mf-cra build", "micro": "cd ../../microfrontends/SignDocuments && npm install && npm run build", "docker-build": "npm run version && rm -rf public/mfbuild && npm run docker-micro && CI=false && mf-cra build", - "docker-micro": "cd ./microfrontends/SignDocuments && npm install && npm run build", + "docker-micro": "cd ./SignDocuments && npm install && npm run build", "test": "react-scripts test", "eject": "react-scripts eject", "release": "standard-version", From b8f32a6d8db936f367819d1d7ba42ee3cc4fe318 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs <93375423+prafull-opensignlabs@users.noreply.github.com> Date: Thu, 22 Feb 2024 20:08:10 +0530 Subject: [PATCH 2/2] Update Dockerhubfile --- apps/OpenSign/Dockerhubfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/OpenSign/Dockerhubfile b/apps/OpenSign/Dockerhubfile index 891790a9f..e294ff234 100644 --- a/apps/OpenSign/Dockerhubfile +++ b/apps/OpenSign/Dockerhubfile @@ -15,6 +15,8 @@ COPY apps/OpenSign/ . COPY microfrontends/ . COPY apps/OpenSign/.husky . +RUN npm docker-build + # Make port 3000 available to the world outside this container EXPOSE 3000