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