diff --git a/in-person-payments-example/Dockerfile b/in-person-payments-example/Dockerfile index 1ded3f3..80161f1 100644 --- a/in-person-payments-example/Dockerfile +++ b/in-person-payments-example/Dockerfile @@ -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"] \ No newline at end of file diff --git a/in-person-payments-example/startDocker.sh b/in-person-payments-example/startDocker.sh index d5b22c6..eb978be 100755 --- a/in-person-payments-example/startDocker.sh +++ b/in-person-payments-example/startDocker.sh @@ -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