mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Create Dockerfile
This commit is contained in:
parent
716f93868d
commit
ee896a846f
1 changed files with 13 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM eclipse-temurin:17-jdk-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY .mvn/ .mvn
|
||||
COPY mvnw pom.xml ./
|
||||
RUN ./mvnw dependency:resolve
|
||||
|
||||
COPY src ./src
|
||||
|
||||
CMD ["./mvnw", "spring-boot:run"]
|
Loading…
Reference in a new issue