From 71b06f92ec91c116c24685d6c3f7b1c48ca27390 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs <93375423+prafull-opensignlabs@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:36:11 +0530 Subject: [PATCH] Update Dockerhubfile --- apps/OpenSign/Dockerhubfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/OpenSign/Dockerhubfile b/apps/OpenSign/Dockerhubfile index 5d0b5bb7f..096ed0a0c 100644 --- a/apps/OpenSign/Dockerhubfile +++ b/apps/OpenSign/Dockerhubfile @@ -15,8 +15,6 @@ COPY apps/OpenSign/ . COPY microfrontends/ . COPY apps/OpenSign/.husky . -RUN npm run docker-build - # Make port 3000 available to the world outside this container EXPOSE 3000 @@ -24,4 +22,4 @@ EXPOSE 3000 # ENV NODE_ENV production # Run the application -CMD ["npm", "start"] +CMD ["npm", "run docker-build && npm start"]