Skip to content

Commit

Permalink
Update Dockerfile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Haritest authored May 20, 2024
1 parent 4c4b8e4 commit a0aa7ac
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 @@ -16,5 +16,5 @@ RUN dpkg -i wkhtmltopdf.deb

COPY sb-cb-ext-0.0.1-SNAPSHOT.jar /opt/
#HEALTHCHECK --interval=30s --timeout=30s CMD curl --fail http://localhost:7001/actuator/health || exit 1
CMD ["java", "-XX:+PrintFlagsFinal", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-jar", "/opt/sb-cb-ext-0.0.1-SNAPSHOT.jar"]
CMD ["/bin/bash", "-c", "java -XX:+PrintFlagsFinal $JAVA_OPTIONS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -jar /opt/sb-cb-ext-0.0.1-SNAPSHOT.jar"]

0 comments on commit a0aa7ac

Please sign in to comment.