Dockerfile 284 B

123456789
  1. FROM openjdk:8
  2. WORKDIR /usr/share/app
  3. ENTRYPOINT ["java", "-jar", "/usr/share/app/lib/app.jar","--spring.config.location=/usr/share/app/conf/"]
  4. ADD ./target/*-SNAPSHOT.jar /usr/share/app/lib/app.jar
  5. ADD ./src/main/resources /usr/share/app/conf
  6. ADD ./static/ /usr/share/app/static/