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 67a51a2 commit 6f8a315
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 @@ -12,6 +12,6 @@ RUN mvn package spring-boot:repackage
# install other utilities
#apt-get -y install \
# sudo curl wget tar.
COPY /target/RobotRESTApp*.jar /RobotApp/robot-api.jar
COPY ./target/RobotRESTApp*.jar /RobotApp/robot-api.jar
WORKDIR /RobotApp/
ENTRYPOINT ["java", "-jar", "robot-api.jar"]

0 comments on commit 6f8a315

Please sign in to comment.