Dockerfile 161 B

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