Dockerfile 156 B

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