projects
/
demos
/
microservices
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cb609
)
streams - Übungen - Microservices - Schritt 01
author
Kai Moritz
<kai@juplo.de>
Sun, 7 Jun 2020 09:27:21 +0000
(11:27 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sun, 7 Jun 2020 09:47:34 +0000
(11:47 +0200)
--
Dockerfile mit ENTRYPOINT und CMD
take-order/Dockerfile
patch
|
blob
|
history
diff --git
a/take-order/Dockerfile
b/take-order/Dockerfile
index
6f51b96
..
cd7c3ad
100644
(file)
--- 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 []