From d0a077bd72a8d3918f163681e99efb6260ee747a Mon Sep 17 00:00:00 2001 From: Conor H Date: Sun, 8 Sep 2024 23:21:58 +0100 Subject: [PATCH] Update run.sh & Dockerfile --- Dockerfile | 1 + run.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7db29ef..cd55e55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM eclipse-temurin:21-jdk +VOLUME /tmp #for local #ADD target/*.war app.war #for CI/CD diff --git a/run.sh b/run.sh index 343234b..a580f18 100644 --- a/run.sh +++ b/run.sh @@ -4,6 +4,6 @@ JAVA_OPTS_DEFAULT="" JAVA_OPTS=${JAVA_OPTS:-${JAVA_OPTS_DEFAULT}} echo -echo "java ${JAVA_OPTS} -jar /app.war" +echo "java ${JAVA_OPTS} -jar app.war" echo -java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app.war \ No newline at end of file +java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.war \ No newline at end of file