Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 408 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 408 Bytes

rk-spring-boot-docker

Simple spring boot application with Docker

Build and run tests $ ./gradlew clean build

Create docker image $ ./gradlew build buildDocker

Run it! $ docker stop simple-app && docker rm simple-app $ docker run -e "SPRING_PROFILES_ACTIVE=prod" --name simple-app -p 8090:8080 -d -t com.rafalkalita/rk-spring-boot-docker $ docker logs simple-app -f

Visit http://localhost:8090/ to test.