java-tutorials/spring-cloud-modules/spring-cloud-docker/docker-message-server/Dockerfile

4 lines
162 B
Docker

FROM openjdk:17-jdk-alpine
MAINTAINER baeldung.com
COPY target/docker-message-server-1.0.0.jar message-server.jar
ENTRYPOINT ["java","-jar","/message-server.jar"]