mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 21:05:50 +00:00
Test PR Trigger
This commit is contained in:
parent
f4dcd30f7a
commit
c9572d6dcb
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
||||||
FROM gradle:8.10.2-jdk17 AS build
|
FROM eclipse-temurin:17-jdk as builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN gradle build --no-daemon
|
RUN ./gradlew build -x test
|
||||||
|
|
||||||
FROM eclipse-temurin:17-jdk
|
FROM eclipse-temurin:17-jre
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/build/libs/*.jar app.jar
|
COPY --from=builder /app/build/libs/*.jar app.jar
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||||
|
`
|
||||||
|
|
Loading…
Reference in a new issue