Dockerfile 198 B

12345678
  1. FROM java:8
  2. EXPOSE 8080
  3. ARG JAR_FILE
  4. ADD target/${JAR_FILE} /file-collect.jar
  5. ADD target/lib /lib
  6. ADD src/main/resources/bootstrap.yml /bootstrap.yml
  7. ENTRYPOINT ["java", "-jar","/file-collect.jar"]