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

4 lines
162 B
Docker
Raw Normal View History

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