Skip to content

Commit

Permalink
Merge pull request #916 from akto-api-security/hotfix/exit_on_oom
Browse files Browse the repository at this point in the history
Updated Dockerfile to fix OOM
  • Loading branch information
ayushaga14 authored Feb 28, 2024
2 parents 60ec465 + 3635254 commit b38be3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ ADD ./target/dashboard.war /var/lib/jetty/webapps/root.war
RUN echo "--module=http-forwarded" > /var/lib/jetty/start.d/http-forwarded.ini
RUN echo "jetty.httpConfig.sendServerVersion=false" > /var/lib/jetty/start.d/server.ini
RUN echo "org.slf4j.simpleLogger.log.org.eclipse.jetty.annotations.AnnotationParser=ERROR" >> /var/lib/jetty/start.d/server.ini
ENV JAVA_OPTIONS="-XX:+ExitOnOutOfMemoryError"
EXPOSE 8080

0 comments on commit b38be3c

Please sign in to comment.