From 1752b6905e29cc650bc9daf886402d4ff5665b22 Mon Sep 17 00:00:00 2001 From: sakthi-aot Date: Mon, 11 Mar 2024 12:50:33 -0600 Subject: [PATCH] Update Dockerfile --- app/caseflow_core/microservices/server/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/caseflow_core/microservices/server/Dockerfile b/app/caseflow_core/microservices/server/Dockerfile index 0ff73cec8..9b8bfa155 100644 --- a/app/caseflow_core/microservices/server/Dockerfile +++ b/app/caseflow_core/microservices/server/Dockerfile @@ -22,10 +22,7 @@ COPY --from=builder /app/dist ./dist # Expose port EXPOSE 7001 -# Grant access to group 0 to allow npm v9 to work -# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images -RUN chgrp -R 0 ./app/.npm && \ - chmod -R g=u ./app/.npm + # Start up command, with max heap size as 50Megs ENTRYPOINT ["node", "--max-old-space-size=256","dist/main"]