Skip to content

Commit

Permalink
Setting up the heap space
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Feb 24, 2021
1 parent 0d1827a commit 47fdbc9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FROM openjdk:15-alpine
RUN mkdir /home/beagen
COPY --from=MAVEN_CHAIN /tmp/target/beagen.jar /home/beagen/beagen.jar
WORKDIR /home/beagen/
CMD ["java", "-jar", "beagen.jar"]

HEALTHCHECK --interval=1m --timeout=3s CMD wget --quiet --tries=1 --spider http://localhost/list/latest?type=person&sector=all || exit
CMD ["java", "-Xms512M", "-Xmx1G", "-jar", "beagen.jar"]

EXPOSE 8080

0 comments on commit 47fdbc9

Please sign in to comment.