From 2c0466c72a172e92d8b41e176bf95ca7299461bd Mon Sep 17 00:00:00 2001 From: lahari104 <113594229+lahari104@users.noreply.github.com> Date: Mon, 1 May 2023 14:22:16 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88a9aeed4..d092e1942 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ FROM ubuntu:20.04 as build RUN apt update && \ apt install openjdk-17-jdk -y && \ - apt install maven -y && \ apt install git -y && \ git clone https://github.com/spring-projects/spring-petclinic.git && \ cd spring-petclinic && \ ./mvnw package EXPOSE 8080 -CMD [ "java", "-jar", "/spring-petclinic/target/spring-petclinic-3.0.0-SNAPSHOT.jar" ] \ No newline at end of file +CMD [ "java", "-jar", "/spring-petclinic/target/spring-petclinic-3.0.0-SNAPSHOT.jar" ]