Skip to content

Commit

Permalink
dont halt on sigterm by reducing use of OS signals by JVM(-Xrs option)
Browse files Browse the repository at this point in the history
  • Loading branch information
kacurez committed Jan 2, 2019
1 parent 4f6e3c9 commit 8c4e483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ ADD . /code
WORKDIR /code
RUN boot build
RUN chmod a+r target/ex-fb-graph-api-1.0.jar
CMD ["java", "-jar", "-Xmx1g","target/ex-fb-graph-api-1.0.jar", "-d" , "/data/"]
CMD ["java", "-jar", "-Xmx1g", "-Xrs", "target/ex-fb-graph-api-1.0.jar", "-d", "/data/"]

0 comments on commit 8c4e483

Please sign in to comment.