From abc1dd25235bde2078cc49308a469975d5e6c551 Mon Sep 17 00:00:00 2001 From: prasannakumar <142010251+spkumar17@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:45:14 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f220f25ff..6a06e7076 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ FROM openjdk:17-jdk-alpine WORKDIR /app # Copy the JAR file from the host machine to the container -COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar . +COPY ./target/spring-petclinic-3.3.0-SNAPSHOT.jar . # Expose the port your application runs on EXPOSE 80 # Set the entry point to run the JAR file -ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]