Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save khauser/bce84971f67c695660ff52474d9fddb6 to your computer and use it in GitHub Desktop.
Save khauser/bce84971f67c695660ff52474d9fddb6 to your computer and use it in GitHub Desktop.
jar {
baseName = 'frontend'
version = '0.0.1-SNAPSHOT'
}
distDocker {
exposePort 80
setEnvironment 'JAVA_OPTS', '-Dspring.profiles.active=docker'
}
docker {
baseImage = 'develar/java:8u45-dcevm'
}
test.dependsOn upDockerCompose
test << {
downDockerCompose.execute()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment