mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
Update readme.md
This commit is contained in:
parent
e5f3eb4e94
commit
4c7a14e1be
1 changed files with 9 additions and 2 deletions
11
readme.md
11
readme.md
|
@ -30,16 +30,23 @@ Or you can run it from Maven directly using the Spring Boot Maven plugin. If you
|
|||
|
||||
## Building a Container
|
||||
|
||||
There is no `Dockerfile` in this project. You can build a container image (if you have a docker daemon) using the Spring Boot build plugin:
|
||||
You can build a container image (if you have a docker daemon) either using the Spring Boot build plugin or Dockerfile in this repository
|
||||
|
||||
```
|
||||
./mvnw spring-boot:build-image
|
||||
```
|
||||
```
|
||||
docker build -t kunchalavikram/spring-petclinic:latest .
|
||||
```
|
||||
|
||||
## Running as a Container
|
||||
```
|
||||
docker run -d -p 80:8080 --name web kunchalavikram/spring-petclinic:latest
|
||||
```
|
||||
|
||||
## In case you find a bug/suggested improvement for Spring Petclinic
|
||||
Our issue tracker is available here: https://github.com/spring-projects/spring-petclinic/issues
|
||||
|
||||
|
||||
## Database configuration
|
||||
|
||||
In its default configuration, Petclinic uses an in-memory database (H2) which
|
||||
|
|
Loading…
Reference in a new issue