Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 539 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 539 Bytes

Getting Started with Spring, Maven and Docker

Prerequisite

  • JDK 17.0.2 or later
  • Maven 3.8.5+
  • Spring Boot CLI(optional)
  • Microsoft Visual Studio Code
  • Docker Desktop

Clone the repo

git clone https://github.com/ajeetraina/spring-docker-demo

Execute the below command to build the package:

./mvnw package

Running the app packages as JAR file

java -jar target/spring-boot-docker-0.0.1-SNAPSHOT.jar 

You can now access the Hello World page via the web browser http://localhost:8080