8 lines
282 B
Docker
Executable File
8 lines
282 B
Docker
Executable File
# we will use openjdk 8 with alpine as it is a very small linux distro
|
|
FROM openjdk:8-jre-alpine3.9
|
|
|
|
# copy the packaged jar file into our docker image
|
|
COPY target/covi-serv-0.0.1-SNAPSHOT.jar /demo.jar
|
|
|
|
# set the startup command to execute the jar
|
|
CMD ["java", "-jar", "/demo.jar"] |