diff --git a/Dockerfile b/Dockerfile index 39575a1..76c9a1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,8 @@ FROM maven:3.9-eclipse-temurin-21-alpine AS build-stage ARG MAVEN_ACCOUNT_USR ARG MAVEN_ACCOUNT_PSW ARG REVISION -ARG MAVEN_GPG_PASSPHRASE -ARG MAVEN_GPG_KEYNAME ARG PROFILE ARG DEV_PROFILE_URL -ENV gpg_keyname=$MAVEN_GPG_KEYNAME -ENV gpg_passphrase=$MAVEN_GPG_PASSPHRASE ENV server_username=$MAVEN_ACCOUNT_USR ENV server_password=$MAVEN_ACCOUNT_PSW @@ -38,6 +34,6 @@ FROM eclipse-temurin:21-jre-alpine ENV SERVER_PORT=8080 EXPOSE ${SERVER_PORT} -COPY --from=build-stage /build/web/target/repository-deposit-web-${REVISION}.jar /app/repository-deposit-web-${REVISION}.jar +COPY --from=build-stage /build/web/target/repository-deposit-web.jar /app/repository-deposit-web.jar -ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/repository-deposit-web-${REVISION}.jar"] \ No newline at end of file +ENTRYPOINT ["java","-Dspring.config.additional-location=file:/config/","-Dspring.profiles.active=${PROFILE}","-Djava.security.egd=file:/dev/./urandom","-jar","/app/repository-deposit-web.jar"] \ No newline at end of file