Skip to content

java-tips/spring-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-docker

Make sure you have docker, java 8 or greater and maven on your machine.

step 1
clone this repository.

git clone https://github.com/java-tips/spring-docker.git

step 2
build application with maven.

mvn install -f /your-path/pom.xml

step 3
build docker image.

docker build -t spring-docker .

step 4
run application in docker.

docker run -p 8080:8080 spring-docker

*for future, we can build all with docker-compose

Enjoy it :D

Releases

No releases published

Packages

No packages published