Created
April 5, 2018 00:12
-
-
Save neilhwatson/f8301d89d48efb62eaf2adb14947d3db to your computer and use it in GitHub Desktop.
spring-boot rest example
This file contains hidden or 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
#!/bin/bash | |
docker run -it --rm --name my-maven-project \ | |
-p 80:8091 \ | |
-v "$(pwd)":/usr/src/mymaven \ | |
-w /usr/src/mymaven maven:3-jdk-10 \ | |
mvn spring-boot:run -Drun.arguments="spring.profiles.active=test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment