Skip to content

Commit

Permalink
update for DF
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthi-aot committed Mar 11, 2024
1 parent a9028e1 commit a88885b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/caseflow_core/microservices/dms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ COPY --from=builder /app/dist ./dist
# Expose port
EXPOSE 7002 7003

# 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 && \
chmod -R g=u /app

# Start up command, with max heap size as 50Megs
ENTRYPOINT ["node", "--max-old-space-size=1024","dist/main"]
5 changes: 5 additions & 0 deletions app/caseflow_core/microservices/gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ COPY --from=builder /app/dist ./dist
# Expose port
EXPOSE 7000

# 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 && \
chmod -R g=u /app

# Start up command, with max heap size as 50Megs
ENTRYPOINT ["node", "--max-old-space-size=50","dist/main"]
5 changes: 5 additions & 0 deletions app/caseflow_core/microservices/lob/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ COPY --from=builder /app/dist ./dist
# Expose port
EXPOSE 8000

# 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 && \
chmod -R g=u /app

# Start up command, with max heap size as 50Megs
ENTRYPOINT ["node", "--max-old-space-size=50","dist/main"]

0 comments on commit a88885b

Please sign in to comment.