Dockerfile 160 B

12345
  1. FROM openjdk:8
  2. ADD target/hazard-admin.jar app.jar
  3. EXPOSE 18819
  4. VOLUME ["/data/service/hazard-admin/logs","/logs"]
  5. ENTRYPOINT java -jar /app.jar >/logs/app.log