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

3 lines
154 B
Docker
Raw Normal View History

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