Commit e7de83bd by luiz.nunes

shsa

parent 4ab8a6ab
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
set -e set -e
APP_TARGET=${APP_TARGET:-target} #APP_TARGET=${APP_TARGET:-target}
echo "---> Starting Spring Boot application" echo "---> Starting Spring Boot application"
echo "--> # APP_TARGET = $APP_TARGET" echo "--> # APP_TARGET = $APP_TARGET"
echo "--> # JAVA_OPTS = $JAVA_OPTS" echo "--> # JAVA_OPTS = $JAVA_OPTS"
echo "---> Running application from standalone jar/war..." echo "---> Running application from standalone jar/war..."
java $JAVA_OPTS -jar `find $APP_TARGET -maxdepth 1 -regex ".*\(jar\|war\)"` #java $JAVA_OPTS -jar `find $APP_TARGET -maxdepth 1 -regex ".*\(jar\|war\)"`
\ No newline at end of file java $JAVA_OPTS -jar $APP_TARGET
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment