Skip to content

Commit

Permalink
update deploy script4
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 9, 2023
1 parent 06b24bb commit 8c80d33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions order-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FROM openjdk:19

WORKDIR /opt

COPY /target/order-service-1.0.1.jar .
COPY /target/order-service-1.0.0.jar .

CMD ["java","-jar", "./order-service-1.0.1.jar"]
CMD ["java","-jar", "./order-service-1.0.0.jar"]
2 changes: 1 addition & 1 deletion order-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.nashtech.order</groupId>
<artifactId>order-service</artifactId>
<version>1.0.1</version>
<version>1.0.0</version>
<name>order-service</name>
<description>order-service project for Spring Boot</description>

Expand Down

0 comments on commit 8c80d33

Please sign in to comment.