Skip to content

ramanans/spring-boot-hola-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hola Docker with Spring Boot

This project shows you how to dockerize a Spring Boot application using a single Dockerfile or combining it with docker-compose.

The guide to build the code and understand the different concepts is located at https://thepracticaldeveloper.com/2017/12/11/dockerize-spring-boot/.

Running the app with Docker

Make sure you generate first the .jar file by running:

mvn clean package

You just need to execute:

docker-compose up

Note that there are two Dockerfiles in this repository. The Dockerfile-build not only runs the app in the container but also builds it using Maven. Check out the post for more details.

About

Example of Dockerized Spring Boot application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%