projects
/
demos
/
spring
/
data-jdbc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The application can be started as a container via Docker Compose
[demos/spring/data-jdbc]
/
Dockerfile
diff --git a/Dockerfile
b/Dockerfile
new file mode 100644
(file)
index 0000000..
89e2ebb
--- /dev/null
+++ b/
Dockerfile
@@ -0,0
+1,5
@@
+FROM openjdk:8-jre-alpine
+VOLUME /tmp
+COPY target/*.jar /opt/app.jar
+ENTRYPOINT [ "/usr/bin/java", "-jar", "/opt/app.jar" ]
+CMD []