| 1234567891011121314151617181920212223242526 | FROM gradle:5.4.1-jdk11 as gradleUSER rootWORKDIR /ratpackCOPY build.gradle build.gradleCOPY src srcRUN gradle shadowJarFROM openjdk:11.0.3-jdk-slimWORKDIR /ratpackCOPY --from=gradle /ratpack/build/libs/ratpack-all.jar app.jarEXPOSE 5050CMD export DBIP=`getent hosts tfb-database | awk '{ print $1 }'` && \    java \        -server \        -XX:+UseNUMA \        -XX:+UseParallelGC \        -Dvertx.disableMetrics=true \        -Dvertx.disableH2c=true \        -Dvertx.disableWebsockets=true \        -Dvertx.flashPolicyHandler=false \        -Dvertx.threadChecks=false \        -Dvertx.disableContextTimings=true \        -Dvertx.disableTCCL=true \        -jar app.jar profile.name=pgclient database.host=$DBIP
 |