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

3 lines
153 B
Docker
Raw Normal View History

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