Skip to content

Commit

Permalink
Merge pull request #2 from amitbb16/amitbb92-patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
amitbb16 authored Nov 5, 2023
2 parents cefccc3 + 4e06dc4 commit a81c170
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ COPY . /usr/app
RUN mvn -DskipTests install

FROM openjdk:22-oraclelinux8

COPY --from=build /usr/app/target/spring-petclinic-3.1.0-SNAPSHOT.jar /
EXPOSE 8080
CMD ["java", "-jar", "spring-petclinic-3.1.0-SNAPSHOT.jar"]
CMD ["java", "-jar", "spring-petclinic-3.1.0-SNAPSHOT.jar"]

0 comments on commit a81c170

Please sign in to comment.