From 685a168a5c47b39f5d0d0f049e92d7b87b618da9 Mon Sep 17 00:00:00 2001 From: hariharan Date: Fri, 19 Jul 2024 21:59:30 +1000 Subject: [PATCH] Fixed the target path to locate the jar file --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28a8f03..fc2b9b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,5 @@ RUN mvn package spring-boot:repackage #apt-get -y install \ # sudo curl wget tar. WORKDIR /RobotApp/ -COPY target/RobotRESTApp*.jar /RobotApp/robot-api.jar +COPY ./target/RobotRESTApp*.jar /RobotApp/robot-api.jar ENTRYPOINT ["java", "-jar", "robot-api.jar"] \ No newline at end of file