FROM java:8 EXPOSE 8080 ARG JAR_FILE ADD target/${JAR_FILE} /file-collect.jar ADD target/lib /lib ADD src/main/resources/bootstrap.yml /bootstrap.yml ENTRYPOINT ["java", "-jar","/file-collect.jar"]