From: Kai Moritz Date: Sun, 7 Jun 2020 09:27:21 +0000 (+0200) Subject: streams - Übungen - Microservices - Schritt 01 X-Git-Tag: tmp~18 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=aa7d97a83d83e6faf68b922be0cbc8390d637dc9;p=demos%2Fmicroservices streams - Übungen - Microservices - Schritt 01 -- Dockerfile mit ENTRYPOINT und CMD --- diff --git a/take-order/Dockerfile b/take-order/Dockerfile index 6f51b96..cd7c3ad 100644 --- a/take-order/Dockerfile +++ b/take-order/Dockerfile @@ -1,4 +1,5 @@ FROM openjdk:8-jre-slim COPY target/take-order-0-SNAPSHOT.jar /opt/ EXPOSE 8080 -CMD ["java", "-jar", "/opt/take-order-0-SNAPSHOT.jar"] +ENTRYPOINT [ "java", "-jar", "/opt/take-order-0-SNAPSHOT.jar" ] +CMD []