Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthi-aot committed Mar 11, 2024
1 parent 2fc1983 commit 1752b69
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/caseflow_core/microservices/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 1752b69

Please sign in to comment.