Last active
June 5, 2018 01:19
-
-
Save topera/1381fb50ea8b9597148df48d6bcd5106 to your computer and use it in GitHub Desktop.
Gradle task to prepare a springboot app to be deployed as a Docker in Elastic Beanstalk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task createPackageToAWS(type: Exec) { | |
doFirst { | |
executable "sh"; args "-c", "jar cf build/app-docker.jar Dockerfile build/libs/app.jar" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment