Skip to content

Commit

Permalink
Fix docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwok-he-Chu committed Jan 29, 2024
1 parent 95ff231 commit 676ae71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions in-person-payments-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM amazoncorretto:17-alpine-jdk
COPY build/libs/in-person-payments-example-0.0.1-SNAPSHOT.jar adyen-java-spring-in-person-payments-example-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","/adyen-java-spring-in-person-payments-example-0.0.1-SNAPSHOT.jar"]
COPY build/libs/adyen-java-spring-in-person-payments-0.0.1-SNAPSHOT.jar adyen-java-spring-in-person-payments-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","/adyen-java-spring-in-person-payments-0.0.1-SNAPSHOT.jar"]
2 changes: 1 addition & 1 deletion in-person-payments-example/startDocker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker run \
-e ADYEN_HMAC_KEY \
-e ADYEN_API_KEY \
-p8080:8080 adyen-java-spring-in-person-payments-example:latest
-p 8080:8080 adyen-java-spring-in-person-payments-example:latest

0 comments on commit 676ae71

Please sign in to comment.