Skip to content

Commit

Permalink
Fixed the target path to locate the jar file
Browse files Browse the repository at this point in the history
  • Loading branch information
pkkht committed Jul 19, 2024
1 parent dd989b8 commit 685a168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 685a168

Please sign in to comment.