FROM openjdk:8u292-jre-buster ARG JAR_FILE=/target/*.jar COPY ${JAR_FILE} service-user-center.jar ENTRYPOINT ["java","-jar","-Dspring.profiles.active=dev","/service-user-center.jar"]