Skip to content

Commit

Permalink
feat(jvm): change jvm to openj9 to reduce memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ijkzen authored Nov 26, 2019
1 parent 61a98b8 commit 426bbf6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM openjdk:8-jre-alpine

FROM adoptopenjdk/openjdk8-openj9
VOLUME /tmp

ARG JAR_FILE=build/libs/halo.jar
Expand All @@ -13,4 +12,4 @@ COPY ${JAR_FILE} halo.jar

EXPOSE ${PORT}

ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -server -jar halo.jar
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -server -jar halo.jar

0 comments on commit 426bbf6

Please sign in to comment.