This commit is contained in:
Kim Oliver Drechsel 2021-10-28 00:17:59 +02:00
parent 75348a1877
commit db1349eb29

View File

@ -4,7 +4,7 @@ set -e
trap "echo Exiting...; exit 0" EXIT TERM trap "echo Exiting...; exit 0" EXIT TERM
STARTUP_COMMAND="java Xmx2G -jar app.jar" # Command that you specified in your Dockerfile as 'CMD' STARTUP_COMMAND="java Xmx2G -jar app.jar" # Command that you specified in your Dockerfile as 'CMD'
BASE_DIR="/app" # Base Direcotry of your containerized app BASE_DIR="/app" # Base directory of your containerized app
if [[ "$*" == "$STARTUP_COMMAND" ]]; then if [[ "$*" == "$STARTUP_COMMAND" ]]; then