java-tutorials/reactive-systems/inventory-service/Dockerfile

3 lines
160 B
Docker
Raw Normal View History

FROM openjdk:8-jdk-alpine
COPY target/inventory-service-async-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=docker","/app.jar"]