FROM openjdk:8u292-jre-buster ARG JAR_FILE=/target/*.jar COPY ${JAR_FILE} system-card.jar COPY fonts/ /usr/share/fonts ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/system-card.jar"]