mirror of https://github.com/docker/docs.git
fix references of `springbootdocker`
Directory is `spring_boot_docker`, not `springbootdocker`
This commit is contained in:
parent
fbacec6a47
commit
acb62e77fc
|
@ -110,12 +110,12 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
|
|||
4. Create a RESTful web service that displays "Hello World!".
|
||||
|
||||
|
||||
Under the `src/main/java/com/example/springbootdocker/` directory, you can modify your
|
||||
Under the `src/main/java/com/example/spring_boot_docker/` directory, you can modify your
|
||||
`SpringBootDockerApplication.java` file with the following content:
|
||||
|
||||
|
||||
```java
|
||||
package com.example.springbootdocker;
|
||||
package com.example.spring_boot_docker;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
@ -139,7 +139,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
|
|||
}
|
||||
```
|
||||
|
||||
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.springbootdocker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
|
||||
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.spring_boot_docker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
|
||||
|
||||
|
||||
### Create the Dockerfile
|
||||
|
|
Loading…
Reference in New Issue