Skip to content
Snippets Groups Projects
Commit cc578b41 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files
parent fcc61659
No related branches found
No related tags found
1 merge request!1initial
......@@ -2,10 +2,18 @@ package com.example.springbootdocker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@SpringBootApplication
public class SpringBootDockerApplication {
@RequestMapping("/")
public String home() {
return "Hello World!";
}
public static void main(String[] args) {
SpringApplication.run(SpringBootDockerApplication.class, args);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment