Skip to content

Commit

Permalink
use COPY command
Browse files Browse the repository at this point in the history
  • Loading branch information
yaminidhamija committed Apr 11, 2024
1 parent a5b0071 commit 7982a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17
ADD /home/runner/work/trading-application/trading-application/target/trading-aplication-2.5.2.jar trading-application.jar
COPY target/trading-aplication-2.5.2.jar trading-application.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","trading-application.jar"]

0 comments on commit 7982a26

Please sign in to comment.