Skip to content

Commit

Permalink
Update run.sh & Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
conorheffron committed Sep 8, 2024
1 parent 05a8da7 commit d0a077b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM eclipse-temurin:21-jdk

VOLUME /tmp
#for local
#ADD target/*.war app.war
#for CI/CD
Expand Down
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.war

0 comments on commit d0a077b

Please sign in to comment.